1
1
Граф коммитов

230 Коммитов

Автор SHA1 Сообщение Дата
Matthias Jurenz
ef0e8f859a Changes to OTF:
- general:
		- incremented version number ro 1.11.3openmpi
	- otfaux:
		- fixed build error when using the Oracle compiler on Solaris. (removed usage of too recent rint() function)
		  Fixes trac:3257

This commit was SVN r27279.

The following Trac tickets were found above:
  Ticket 3257 --> https://svn.open-mpi.org/trac/ompi/ticket/3257
2012-09-10 12:59:07 +00:00
Matthias Jurenz
a1f3d63278 Fixed build error when compiling VT within Open MPI using the PGI compiler:
The Open MPI configure automatically adds the -D_REENTRANT flag to CPPFLAGS. This causes that one of the PGI STL headers includes the omp.h header - unfortunately the fake one located in tools/vtwrapper/ instead of the real one. Thus, several OpenMP symbols were undefined and the compiler aborted.

This commit was SVN r27130.
2012-08-24 08:34:24 +00:00
Matthias Jurenz
79a065290c Changes to OTF:
- general:
		- incremented version number to 1.11.2openmpi
	- lib OTFAUX:
		- speed-up messages matching, if no snapshots should be generated

Changes to VT:
	- general:
		- incremented version number to 5.13.1openmpi
	- compiler wrappers:
		- vtnvcc:
			- add path to cuda.h to the PDT parser command
			- exclude *.cu source files from instrumenting with PDT/TAU; the PDT parser is not (yet) able to handle CUDA statements and kernels
	- vtunify:
		- fixed timestamp boundary check for merging asynchronous plugin counters (i.e. async. timestamp must >= process' start timestamp)
		- fixed timestamp conversion from local to global
		- print percentage of message matching bumps (unmatched or reversed messages)
		- inlined key-value list "record handler"
		- minor optimizations in hook for merging async. events:
			- search async. source manager only once per stream
			- don't call writeRecHook_Event() if no async. source key is defined

This commit was SVN r26925.
2012-07-31 08:45:37 +00:00
Matthias Jurenz
e5614013cf Changes to VT:
- configure:
		- added option --with[out]-liberty to enable/disable symbol demangling with libiberty; default: disabled, because many systems don't provide a PIC version of libiberty
		- fixed compiler flags for building Fortran MPI wrapper library

This commit was SVN r26839.
2012-07-23 13:21:19 +00:00
Matthias Jurenz
45dfa0d0b1 Changes to VT:
- added CUDA stream reuse for both, CUDA tracing with CUPTI and CUDART wrapper
	- removed CUDA stream number from thread name, when CUDA stream reuse is enabled
	- disable tracking of MPI communicators, requests, windows, etc. if MPI is initialized with MPI_THREAD_SERIALIZED or MPI_THREAD_MULTIPLE (only MPI function enter/leave events will be recorded)
	- configure:
		- fixed detection of compiler instrumentation type on Cray platforms using the cc compiler wrapper
	- compiler wrappers:
		- fixed preprocessing source files to be parsed by OPARI (add path to empty omp.h to the preprocessor flags to avoid multiple declarations of OpenMP functions, types, etc.)
		- vtnvcc: Remove 'compinst' instrumentation type, if VT is configured with a non-GNU compiler instrumentation support (Fixed "unrecognized option" error)
	- vtdyn:
		- added support for instrumenting outer- and inner loops and its iterations (outer=loops within a function, inner=loops within outer loops)
		- try to get the full prototype of functions to be instrumented
		- consider default filter rules also if no filter file is given
		- fixed potential segfault if adding a filter rule w/o stack bounds
		- print verbose messages on stdout if vtdyn is started from the Dyninst attach library (libvt-dynatt)
	- vtunify:
		- print verbose messages on stderr if vtunify is started automatically from the VT library

This commit was SVN r26836.
2012-07-23 10:15:22 +00:00
Matthias Jurenz
a1c6ab7c08 Changes to OTF:
- fixed RBuffer_searchTime() for compressed files

Changes to VT:
	- rebuild HTML+PDF version of VT user manual
	- fixed compiler instr. entry in configure summary (was empty if no compiler instr. found)

This commit was SVN r26750.
2012-07-05 12:56:07 +00:00
Matthias Jurenz
42d54e7bf7 Pass option --with-openmpi-inside=1.7 to VT's configure to select the correct Fortran MPI lib. (libmpi_mpifh instead of libmpi_f77)
This commit was SVN r26744.
2012-07-04 12:53:38 +00:00
Matthias Jurenz
a579b74ebc Upgraded VT version to 5.13
This commit was SVN r26743.
2012-07-04 12:46:53 +00:00
Brian Barrett
9af72072a3 Use MKDIR_P instead of mkdir_p in Makefiles, as MKDIR_P is the only one
defined in recent versions of AC/AM.

This commit was SVN r26625.
2012-06-21 16:52:37 +00:00
Matthias Jurenz
ee735e5f9c Changes to VT:
- fixed build issue on Solaris 10 (reported in http://www.open-mpi.org/community/lists/users/2012/05/19396.php)

This commit was SVN r26553.
2012-06-05 07:54:58 +00:00
Matthias Jurenz
54d67f3957 Changes to VT:
- corrected Fortran MPI lib. name for OMPI 1.7 (-lmpi_f77 -> -lmpi_mpifh)

This commit was SVN r26477.
2012-05-23 09:06:22 +00:00
Matthias Jurenz
bf7e00b787 - corrected underlying compiler command for mpifort-vt (@FC@ -> vtf90)
- removed useless mpi<f77|f90>-vt-wrapper-data.txt

This commit was SVN r26474.
2012-05-23 08:55:00 +00:00
Jeff Squyres
80fa7cba29 Update VT for the new Fortran wrapper compiler nomenclature
This commit was SVN r26354.
2012-04-27 19:51:18 +00:00
Matthias Jurenz
411f9295d0 Changes to VT:
- compiler wrappers:
		- fixed uninstalling TAUINST.SPEC on MacOS (thanks to Jeff for the patch)

This commit was SVN r26280.
2012-04-18 11:59:28 +00:00
Matthias Jurenz
a40b6dcc42 Changes to VT:
- configure:
		- changed default CUPTI library path to $CUPTI-DIR/lib64
	- VT Libs:
		- corrected prototype of MPI_Get_address in Fortran MPI wrappers (the second parameter should be an MPI_Aint* instead of MPI_Fint*)
		- temporary removed MPI_<Comm|Type|Win>_<get|set>_attr and MPI_Attr_<get|put> from the Fortran MPI wrappers due to missing conversion of the attribute value parameter
	- Docu:
		- latex doc \usepackage[T1]{fontenc} so that _ can be searched and copied
		- smaller font in Environment Variables section
		- some improvements in CUDA section
		- removed GPU idle time as official feature for CUPTI tracing method

This commit was SVN r26161.
2012-03-19 08:51:05 +00:00
Matthias Jurenz
61d2818831 Changes to VT:
- general:
		- added missing entry in ChangeLog
	- vtunify[-mpi]:
		- fixed possibly uninitialized global token for the predefined Node and "All" process groups

This commit was SVN r26147.
2012-03-15 10:58:12 +00:00
Matthias Jurenz
03ea0245f0 Changes to OTF:
- general:
		- corrected OTF version number
	- otfprofile:
		- removed leading '=' from CSV lines to make it loadable into spreadsheets (e.g. Open Office)
		- fixed process naming in CSV output of collective operation statistics
Changes to VT:
	- configure:
		- added *_FOR_BUILD variables to CrayXE's default configure options; required for cross-building
	- VT libs:
		- fixed GPU communication, due to new process ID splitting
		- fixed parsing of PAPI native events in VT_METRICS; use strtok_r instead of strtok which is successively called inPAPI_event_name_to_code
		- added VT_METRICS_SEP to definition comments (-> Vampir's trace info)
	- Docu:
		- fixed link to TAU Reference Guide

This commit was SVN r26137.
2012-03-14 12:36:28 +00:00
Matthias Jurenz
164ee92f22 === VT upgrade to version 5.12.2 ===
Changes to OTF:
	- general:
		- updated copyright information (2011->2012)
	- otfmerge-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct
	- otfdump:
		- don't abort when reading events fails - the input tracefile might only have statistics

Changes to VT:
	- general:
		- updated version number to 5.12.2openmpi
		- updated copyright information (2011->2012)
	- configure:
		- added configure switches to enable/disable CUPTI and CUDA wrapping
		- fixed detection of C++ runtime libraries for Cray and PGI v11.x compilers
		- fixed detection of Cray compiler's OpenMP flag
		- fixed detection of MPI_IN_PLACE
		- disable support for RTLD_DEFAULT on CrayX? platforms; it's provided by dlfcn.h but not working
		- added '-force_flat_namespace' to linker flags of compiler wrappers on MacOS (causes that OpenMPI's libmpi_f77 calls the VT MPI wrapper functions - not the original ones)
		- default configure options on Cray platforms: use compiler option '--target=$XTPE_COMPILE_TARGET' only if the environment variable is set
	- VT libs:
		- added support for CUDA tracing via CUPTI callbacks and activities (runtime and driver API, kernels, memory copies, GPU idle time and GPU memory usage)
		- added support for cudaMemcpyDefault and synchronous peer-to-peer memory copies in CUDA library wrapper
		- fixed a bug in CUDA runtime wrapper initialization and thread creation
		- fixed a build bug occurred if CUDA and CUPTI found, but support for library tracing is disabled
		- use stack-allocated char-array when composing vtunify command; on some platforms system() results in exit code 127 when using a dynamically allocated char-array
		- fixed bug in async. counter plugin
		- fixed handling of empty MPI groups (MPI_GROUP_EMPTY)
		- fixed handling of MPI groups implicitly generated by MPI_Win_create
		- fixed conversion from MPI_Fint-arrays to MPI_Aint-arrays in Fortran MPI wrappers
		- fixed order of OpenMP threads based on its id (omp_get_thread_num)
		- fixed parsing of filter file to consider non-rank-specific filter rules appearing after a rank selection for disabling
		- fixed handling of 'errno' in LIBC[-I/O] wrappers for statically linked applications (set application's errno to the errno defined in the external LIBC which is used for calling the real functions)
		- suppress warnings about usage of deprecated MPI functions (OMPI_WANT_MPI_INTERFACE_WARNING=0)
	- vtunify[-mpi]:
		- fixed potential memory corruption during enqueuing recv. messages for p2p message matching
	- vtunify-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct
		- removed unused MPI wrappers
		- fixed assertion in p2p message matching which occurred when processing local traces with disabled ranks
	- vtdyn:
		- load user-specified shared libraries (-s SHLIB) into the mutatee before starting the instrumentation; adds support for instrumenting shared libraries which are loaded during runtime
	- compiler wrappers:
		- fixed detection of MPI library linked in the path form (e.g. libmpi.a instead of -lmpi)
		- fixed corrupt library order when using vtnvcc for linking MPI/CUDA mixed program
	- OPARI:
		- fixed Fortran parsing for detecting end of block DO loops

This commit was SVN r26114.
2012-03-08 13:01:30 +00:00
Matthias Jurenz
b4523496c8 Changes to VT: Fixed compiler warning about unused variable when compiling on MacOS
This commit was SVN r26076.
2012-03-01 12:17:27 +00:00
Matthias Jurenz
9c822b065f Even more changes belonging to r26051
This commit was SVN r26063.

The following SVN revision numbers were found above:
  r26051 --> open-mpi/ompi@f245ed965a
2012-02-27 15:53:14 +00:00
Matthias Jurenz
b785c9efe9 Missing change belonging to r26051
This commit was SVN r26052.

The following SVN revision numbers were found above:
  r26051 --> open-mpi/ompi@f245ed965a
2012-02-24 16:24:22 +00:00
Matthias Jurenz
f245ed965a Changes to OTF:
- otfmerge-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct

Changes to VT:
	- VT libs:
		- suppress warnings about usage of deprecated MPI functions (OMPI_WANT_MPI_INTERFACE_WARNING=0)
	- vtunify-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct
		- removed unused MPI wrappers

This commit was SVN r26051.
2012-02-24 15:48:51 +00:00
Matthias Jurenz
99a3951c48 Changes to VT:
- fixed platform detection on BlueGene when configuring for the frontend

This commit was SVN r26042.
2012-02-24 10:10:50 +00:00
Matthias Jurenz
3aafb6ed89 Append VampirTrace specific CXXFLAGS (possibly given by --with-contrib-vt-flags) to CXXFLAGS. They could contain flags which are essential for the success of the STL configure test (e.g. -library=stlport4).
This commit was SVN r26017.
2012-02-23 12:46:45 +00:00
Matthias Jurenz
e59c5bb7bc Changes to VT:
- fixed compiler warnings if using non-GNU compiler, respectively if _FORTIFY_SOURCE is 0 or not defined

This commit was SVN r26016.
2012-02-23 09:05:10 +00:00
Matthias Jurenz
c888ceaa55 Changes to VT:
- vtunify[-mpi]:
		- fixed compile error with Clang++ v2.9 and v3.0

This commit was SVN r25962.
2012-02-20 09:36:09 +00:00
Jeff Squyres
2b1320e065 Oops -- need to "rm -f" to ensure that rm won't error out if nothing
is removed.

This commit was SVN r25935.
2012-02-15 20:06:59 +00:00
Jeff Squyres
54cf60eb4b $(RM) is not a standard macro. Just use "rm" -- every platform has it.
This commit was SVN r25934.
2012-02-15 19:51:59 +00:00
Matthias Jurenz
f2362262a9 Pass STL configure test on every valid C++ compiler (see #2982)
This commit was SVN r25833.
2012-01-31 15:39:11 +00:00
Matthias Jurenz
10697ec859 Fixed some of Jeff's suggestions to #2982
This commit was SVN r25817.
2012-01-30 15:36:01 +00:00
Matthias Jurenz
d154e81668 If configure of a contributed component fails, abort if it's requested via command line switch
This commit was SVN r25814.
2012-01-30 12:09:06 +00:00
Matthias Jurenz
085e3dc470 Added configure test for suitable C++ STL from Oracle Studio compiler.
VampirTrace needs the STLport library due to missing standard functionality in the default C++ STL (libCstd).

This commit was SVN r25804.
2012-01-27 13:11:09 +00:00
Jeff Squyres
7d1523cb00 Update the text; it was left over from autogen.sh days (i.e., it had
not been updated when we upgraded to autogen.pl).

This commit was SVN r25784.
2012-01-26 13:11:36 +00:00
Samuel Gutierrez
b3bfae129b Increase format width in example pi.F to avoid Intel compiler warnings. Thanks to Mark Debbage from QLogic for the patch.
This commit was SVN r25691.
2012-01-04 16:44:16 +00:00
Matthias Jurenz
3ed2329643 Changes to OTF:
- tests/thumbnail:
		- removed unnecessary header include (stdbool.h) that breaks build on Solaris

Changes to VT:
	- configure:
		- fixed detection of Open64 compilers for automatic instrumentation
	- VT libs:
		- fixed non-increasing timestamps when flushing the trace buffer: check trace status after calling vt_update_counter() to prevent function leave events from recording, if maximum buffer flushes are reached
		- calculate fixed record lengths only once when creating new buffer entries
	- vtunify[-mpi]:
		- minor code-optimization: use ++it instead of it++ in for-loops to prevent unnecessary copying of objects 

This commit was SVN r25674.
2011-12-19 08:40:35 +00:00
Matthias Jurenz
58eb61bc46 Changes to OTF:
- otfprofile[-mpi]:
		- added missing header includes for WEXITSTATUS

This commit was SVN r25637.
2011-12-14 08:20:26 +00:00
Matthias Jurenz
701d4edc2b Changes to VT:
- removed unnecessary trailing ';' from several macro definitions

This commit was SVN r25598.
2011-12-08 13:24:39 +00:00
Matthias Jurenz
b3f4fca3f4 Changes to VT:
- Use own implementation of assert() to work around a compiler bug (seen on MacOS using GCC v4.2.1):
	  The linker results in an undefined reference to ___builtin_expect() when using assert() within OpenMP-parallel regions.

This commit was SVN r25595.
2011-12-08 12:20:05 +00:00
Matthias Jurenz
05549e889b Changes to VT:
- fixed a bug (potential segfault) in the MPI wrapper functions MPI_Gatherv and MPI_Scatterv which occurred due to illegal access to insignificant parameters on non-root ranks
	- vtdyn:
		- stop instrumenting if an error occurred during finalizing instrumentation set
	- vtunify-mpi:
		- added option '--stats' to unify only summarized information, no events
		- reduced memory usage on rank 0: immediately send token translation tables to the corresponding worker ranks when they are complete
		- send the "finished-flag" together with the last set of definitions read to rank 0 instead of sending an extra message
	- OPARI:
		- fixed detection of DO loop beginnings; If there is a variable which contains "do" in its name it was detected as DO loop :-(
		- fixed processing of Fortran line-continuation appearing after a complete OpenMP directive

This commit was SVN r25584.
2011-12-07 12:26:38 +00:00
Matthias Jurenz
6b879bcf6e Changes to OTF:
- otfprofile[-mpi]:
                - fixed compile error with the PGI compiler

Changes to VT:
        - added support for LIBC [I/O] tracing on Cray XT platforms
        - vtrun:
                - do preload Dyninst runtime library (DYNINSTAPI_RT_LIB) when
                  instrumenting user functions by Dyninst

This commit was SVN r25505.
2011-11-25 11:51:08 +00:00
Matthias Jurenz
4ec105182e Updated integrated VT to version 5.12
This commit was SVN r25483.
2011-11-17 10:02:38 +00:00
Matthias Jurenz
e0ed5645ca Changes to VT:
- vtwrapper:
		- fixed source file registration for TAU/OPARI

This commit was SVN r25108.
2011-08-30 11:14:56 +00:00
Matthias Jurenz
f32aab5137 Changes to VT:
- configure:
		- patch Makefiles which define library targets that depend on other libraries to prevent the following Libtool warning:
		  "libtool: link: warning: `...//*.la' seems to be moved"
		  (Libtool getting confused by the "//" in the library paths,
		  so remove the trailing '/' from all *LIBDIR variables.)
	- vtwrapper:
		- added options '-vt:showme-<compile|link>' to the compiler wrapper to show the compiler/linker flags that would be supplied to the underlying compiler

This commit was SVN r25105.
2011-08-29 15:43:17 +00:00
Matthias Jurenz
0409675f90 Changes to VT:
- updated version number to 5.11.2
	- fixed even more Coverity warnings
	- vtunify:
		- replaced std::vector relict by LargeVectorC (fixes segfault during gathering)
	- vtwrapper:
		- do also escape '\', ''', '(', and ')' in arguments

This commit was SVN r25071.
2011-08-23 10:12:43 +00:00
Matthias Jurenz
9f154e7060 Changes to VT:
- fixed compiler warnings
	- fixed Coverity warnings
	- vtrun:
		- do preload libvt-fmpi.so only if it is available

This commit was SVN r25056.
2011-08-17 12:23:19 +00:00
Matthias Jurenz
3a6e9b19ee Fixed several Coverity warnings
This commit was SVN r25014.
2011-08-08 12:53:58 +00:00
Matthias Jurenz
1b402ecb1a Changes to OTF:
- always check the result of OTF_WStream_get*Buffer since it might be NULL in case OTF_File_open fails

Changes to VT:
	- CUDA Tracing:
		- fixed configure stack for filtered kernels
		- fixed buffer size for CUPTI tracing
		- replaced error message with warning to continue tracing, even if CUDA error occured (VTCUDAsynchronizeEvt)
	- vtunify:
		- enlarged minimum message size for transfering local definitions to rank 0
		- use binary search for searching already created global definitions
		- use binary search for searching already created global marker definitions
		- use LargeVectorC instead of std::vector for pre-allocating elements
	- vtwrapper:
		- added options '-vt:CC' and '-vt:c++' which are synonyms for '-vt:cxx'

This commit was SVN r24997.
2011-08-05 12:46:26 +00:00
Matthias Jurenz
4ca70e5c91 Changes to OTF:
- improved zlib compression
   - otfprofile-mpi:
      - fixed progress

Changes to VT:
   - fixed C++ linker issue for manual instrumentation of multiple files
   - fixed CUDA kernel launch configuration
   - process and thread buffer size can be explicitly specified by the user via the environment variables VT_BUFFER_SIZE and VT_THREAD_BUFFER_SIZE
   - fixed CUDA buffer management
   - vtfilter:
      - fixed progress
   - vtwrapper:
      - link CUPTI library, if available
   - vtsetup:
      - removed fixed path to *.dtd file in vtsetup-data.xml[.in] (fixes 'java.net.MalformedURLException')

This commit was SVN r24950.
2011-07-26 12:47:05 +00:00
Jeff Squyres
08a05a1e35 Minor additions to make OMPI trunk compatible with the latest GNU
Autotools:

 * Autoconf 2.68
 * Automake 1.11.1
 * Libtool 2.4
 * m4 1.4.16

This commit was SVN r24867.
2011-07-10 12:11:47 +00:00
Matthias Jurenz
5e6919b4e1 Changes to OTF:
otfprofile-mpi:
      - added progress display
      - added verbose messages
      - added functions to sychronize the error indicator to all worker ranks
        (enforces that all ranks will be terminated by calling MPI_Abort if anyone fails)
      - wrap def. comments after 80 characters
      - use pdf[la]tex instead of latex/dvipdf to convert TeX output to PDF
      - added configure checks for pdf[la]tex and PGFPLOTS v1.4
      - fixed function invocation statistics generated from summarized information (--stat)
      - fixed memory leak

Changes to VT:
   MPI wrappers:
      - fixed wrapper generation for MPI implementations which don't support the MPI-2 standard (e.g. MVAPICH, MPICH)
      - corrected IN_PLACE denotation for MPI_Alltoall* and MPI_Scatter*
   vtwrapper:
      - corrected detection of IBM XL's OpenMP flag -qsmp=*:omp:*
   vtunify:
      - fixed faulty cleanup of temporary files which occurred if VT is configured without trace compression support

This commit was SVN r24851.
2011-07-01 07:17:15 +00:00
Matthias Jurenz
f97bf63d98 - removed invalid wildcard from EXTRA_DIST (fixes broken 'make distcheck')
- extended 'make uninstall' rules to remove symbolic links (e.g. vtcxx, vtCC, otfdecompress)

This commit was SVN r24811.
2011-06-23 07:46:07 +00:00
Matthias Jurenz
0ecce8e3dd Updated integrated VT to version 5.11.1
(waiting for successful sanity checks (MTT) before moving to v1.5)

This commit was SVN r24803.
2011-06-22 13:58:00 +00:00
Matthias Jurenz
103044d3b7 Added workaround for libtool bug:
Renamed internal library 'libutil' to avoid name conflicts with library dependencies (e.g. libutil of libc-dev)

This commit was SVN r24799.
2011-06-22 11:39:49 +00:00
Matthias Jurenz
a1e304b2d6 Removed redundant debug message
This commit was SVN r24638.
2011-04-26 08:02:46 +00:00
Matthias Jurenz
fe8cc366c8 Don't try to rename the compiler output of an OPARI modified source file if it's specified by '-o'
This commit was SVN r24601.
2011-04-08 11:53:46 +00:00
Matthias Jurenz
53346a9c1a - fixed handling NULL value of pathname given to certain I/O calls (e.g. fopen, open, unlink)
- incremented version number

This commit was SVN r24575.
2011-03-25 11:15:49 +00:00
Matthias Jurenz
c34eed80c6 Fixed typo in configure options
This commit was SVN r24544.
2011-03-18 14:42:49 +00:00
Matthias Jurenz
a23afc1307 fixed typo
This commit was SVN r23905.
2010-10-18 12:11:32 +00:00
Matthias Jurenz
9ce76256f9 - fixed compile error on Red Hat 5.x which occurred if using GNU compiler with -D_FORTIFY_SOURCE=2
(wrap __fprintf_chk() instread of fprintf())
- incremented VT version number in docu

This commit was SVN r23898.
2010-10-18 10:59:00 +00:00
Matthias Jurenz
8e8c407616 revert r23764 in ompi/contrib/vt/vt
This commit was SVN r23782.

The following SVN revision numbers were found above:
  r23764 --> open-mpi/ompi@40a2bfa238
2010-09-21 07:09:24 +00:00
Ralph Castain
40a2bfa238 WARNING: Work on the temp branch being merged here encountered problems with bugs in subversion. Considerable effort has gone into validating the branch. However, not all conditions can be checked, so users are cautioned that it may be advisable to not update from the trunk for a few days to allow MTT to identify platform-specific issues.
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change.

Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation.

This commit was SVN r23764.
2010-09-17 23:04:06 +00:00
Matthias Jurenz
33e29247b6 Do not use default options from config/defaults if configuring inside Open MPI
This commit was SVN r23753.
2010-09-14 06:51:14 +00:00
Matthias Jurenz
68e6745250 Renamed macros
omp_get_thread_num -> MY_THREAD
   omp_get_num_threads -> THREAD_NUM
to avoid conflicts with the 'omp.h' of the PGI compiler version 10.0.x

This commit was SVN r23748.
2010-09-13 08:48:45 +00:00
Jeff Squyres
ea13687547 Minor change to VT: use the "foreign" keyword with AM_INIT_AUTOMAKE so
that Automake doesn't assume that these are GNU standard packages
that conform to the GNU coding standards.  Without this keyword,
Automake can replace the VT INSTALL files with the GNU standard
INSTALL text file.

This change is ''necessary'' for the autogen improvements that are
coming shortly (see
http://www.open-mpi.org/community/lists/devel/2010/09/8478.php); I'm
committing this change ahead of time so that I can pass it upstream to
the VT developers.

This commit was SVN r23740.
2010-09-12 08:44:41 +00:00
Matthias Jurenz
a0c061a7ec Temporary disabled OpenMP support completely if the PGI compiler is used to work around some uncleared compile errors
This commit was SVN r23719.
2010-09-06 11:57:50 +00:00
Matthias Jurenz
8f940bd53b Fixed typo
This commit was SVN r23572.
2010-08-09 08:52:05 +00:00
Matthias Jurenz
e0844f3a40 - enforced creating of event/summary files even process/thread doesn't produce trace data
(reworked r23550)
- append "vampirtrace" to ${datarootdir} and ${includedir} even the options '--includedir' and '--datarootdir' are specified
  (this is meaningful for the creation of the Open MPI distribution packages)
- disable OpenMP support in otfprofile if the PGI compiler is used to work around the following errors:

	compiler version  compiler error
	< 9.0-3           PGCC-S-0000-Internal compiler error. calc_dw_tag:no tag
	(see Technical Problem Report 4337 at http://www.pgroup.com/support/release_tprs_90.htm)

	10.1 - 10.6       this kind of pragma may not be used here
	                        #pargma omp barrier

This commit was SVN r23564.

The following SVN revision numbers were found above:
  r23550 --> open-mpi/ompi@3ef374478f
2010-08-06 12:47:40 +00:00
Matthias Jurenz
3ef374478f Do only write active process/thread ids to the OTF master control file (*.otf).
Vampir 7.2 is unable to load trace files where processes/threads are defined which didn't produced event records.

This commit was SVN r23550.
2010-08-04 07:12:39 +00:00
Jeff Squyres
1802325a39 Rename "libtrace" to be "libompitrace" so as not to conflict with an
already-existing "libtrace" on some BSD distros.

This commit was SVN r23357.
2010-07-06 21:48:15 +00:00
Matthias Jurenz
1467f2db52 Added workaround for PGI compiler bug (see http://www.pgroup.com/support/release_tprs_90.htm TPR 4337):
Disable OpenMP if compiler version is less than 9.0-3.

This commit was SVN r23274.
2010-06-15 07:16:13 +00:00
Matthias Jurenz
29f02d88c6 - fixed buffer overflow which occurred if marker or event comment records generated
- fixed bug in MPI-I/O tracing: tracking MPI file handles even if MPI_File_open isn't recorded
- fixed compiler warnings in the PAPI component
- incremented version number to 5.8.2

This commit was SVN r23074.
2010-04-30 10:04:26 +00:00
Matthias Jurenz
d92819826b - fixed detection of older PGI compilers on CrayXT platforms
- added detection for Intel compilers on CrayXT platforms

This commit was SVN r23011.
2010-04-20 10:33:02 +00:00
Matthias Jurenz
1ae62f6fb6 Fixed the OpenMP barrier for the progress report which had a deadlock
This commit was SVN r22991.
2010-04-19 14:49:14 +00:00
Matthias Jurenz
8441b4f7e0 Improved configure tests for CrayXT platforms:
- added default option file
- added detection of the compiler loaded by the programming environment

This commit was SVN r22988.
2010-04-19 13:46:56 +00:00
Matthias Jurenz
15a2260ca9 Do not build MPI Correctness Checking support inside Open MPI
This commit was SVN r22967.
2010-04-13 08:56:28 +00:00
Matthias Jurenz
175fd07de4 VT enhancements:
- extendet support for BlueGene/P:
	- building shared VT libraries
	- tracing 3rd-party libraries (e.g. libc I/O)
	- tracing multi-threaded applications 
VT configure fixes:
- fixed detection on CTool for 3rd-party library tracing
VT fixes:
- reduced memory overhead by using the trace buffer for string/array elements of some records
- do not shutdown call-stack if max. number of buffer flushes reached, because the additional function leaves suggest a wrong application flow
- vtunify-mpi:
	- fixed conversion of VTUnify_MPI_Aint arrays 
- vtwrapper:
	- if an OPARI modified object file (*.mod.o) cannot be renamed, abort only if the compiler wrapper runs in "only-compile" mode (-c) 
OTF fixes:
- otfinfo:
	- fixed and enhanced calculation of trace file size
	- changed unit of timer resolution (s -> Hz) 
- otfprofile:
	- fixed progress
	- kill '_' and '\' in process names to make LaTex happier

This commit was SVN r22963.
2010-04-13 07:20:56 +00:00
Matthias Jurenz
f01f70b8f6 - added missing header include
- moved warning message into an ifdef of OTF_VERBOSE

This commit was SVN r22860.
2010-03-22 13:08:13 +00:00
Matthias Jurenz
9aec91838b Fixed segfault which might occur if the application uses fork's
This commit was SVN r22847.
2010-03-17 11:51:04 +00:00
Rainer Keller
814fb9399f - Further patches for support on NetBSD (and DragonFly) by
Aleksej Saushev.
   Dont use bash or bashism in shell scripts
   We should use Posix' setpgid(0,0), which is equivalent to setpgrp().

This commit was SVN r22829.
2010-03-15 05:33:42 +00:00
Matthias Jurenz
86e58eb6d3 VT configure fixes:
- skip test for libdl on BlueGene? and CrayXT platforms (particularly on CrayXT this library can be linked but it isn't suitable)
- set cache variables for functions 'PMPI_Win_test', 'PMPI_Win_lock', 'PMPI_Win_unlock', and 'MPI_Register_datarep', if VT is configuring for Open MPI
- added test for pthread functions 'pthread_condattr_<set|get>pshared' and 'pthread_mutexattr_<set|get>pshared', because they are not available on some platforms
VT fixes:
- cut 'nm' collected symbol names at '??'
- vtunify:
        - fixed unsafe usage of some strncpy's
        - fixed potential segmentation fault in vtunify-mpi which might occur on 32bit platforms using MPICH2
OTF general:
- updated date in copyright header of each source file
OTF fixes:
- minor code cleanups (indentation, nicer error messages, more correct free's)
- otfaux:
        - fix to place final statistics after the very last record instead of right before
        - changed fatal error to a warning when a file is closed twice (or unexpectedly)

This commit was SVN r22820.
2010-03-12 11:03:45 +00:00
Matthias Jurenz
75d71239d1 Fixed bug in parsing nm-file:
Do not trigger a parse error if address is out of range. Ignore symbol instead.

This commit was SVN r22778.
2010-03-04 16:03:53 +00:00
Matthias Jurenz
5b9515225d - fixed stack shutdown if maximum number of buffer flushes was reached
- fixed potential stack underflow in vtfilter which might be cause a segmentation fault

This commit was SVN r22773.
2010-03-04 08:08:20 +00:00
Matthias Jurenz
5f368a094f Restored support for Automake's silent rules
This commit was SVN r22741.
2010-03-01 13:10:27 +00:00
Matthias Jurenz
157942809c Use more portable 'nm' command instead of the BFD library to collect symbol information for instrumentation with the GNU, Intel, and PathScale
This commit was SVN r22737.
2010-03-01 12:20:41 +00:00
Matthias Jurenz
111a424dac - removed hard-coded directory paths in vt_dyninst.c
- temporary disabled wrapper for 'fcntl' in vt_iowrap.c, due to curious behaviour on some platforms (e.g. segfault)

This commit was SVN r22659.
2010-02-18 10:36:20 +00:00
Matthias Jurenz
1ce37bc5ce VT general:
- Updated date in copyright header of each source file
VT configure fixes:
- fixed configure's version detection for PAPI to support version 4.x
- added configure tests to detect Bull MPICH2
VT new features:
- added support for "re-locate" an existing VampirTrace? installation without re-build it from source (fixes OMPI's ticket #1990)
- added support for tracing functions in shared libraries instrumented by the GNU, Intel, Pathscale, ot PGI 9 compiler
- added support for PAPI-C counters which belong to different components
- extended usability of environment variable VT_METRICS for PAPI counters to specifiy whether a counter provides increasing or absolute values

This commit was SVN r22637.
2010-02-17 14:38:11 +00:00
Matthias Jurenz
7b586b1230 Use Open MPI's Fortran wrapper library 'libmpi_f77' instead of VT's MPI Fortran wrapper library 'libvt-fmpi'.
This commit was SVN r22531.
2010-02-02 18:40:07 +00:00
Matthias Jurenz
f7822df9b8 VT configure fixes:
- patch libtool.m4 to fix detection of PGI 10 C++ compiler
- patch configure to fix detection of PGI 10 Fortran compiler (pgfortran)
- checks for MPI:
   - do only check Fortran interoperability if F77 compiler given
   - do not enable MPI-2 I/O support for LAM/MPI
   - added configure checks for PMPI_Win_<lock|unlock|test>, because in LAM-MPI these functions are missing
- checks for LIBC-I/O tracing:
   - pass ldd's stderr output to /dev/null
VT source fixes:
- fixed detection of unique node id on MacOS platforms (use sysctl instead of gethostid)
- fixed yet another Coverity warning
- fixed compiler warnings on MacOS

This commit was SVN r22508.
2010-01-28 15:36:51 +00:00
Matthias Jurenz
34281f0fa2 - added environment variable VT_METRICS_SEP to specify a string which separate the counter names in VT_METRICS
- set configure variable 'inside_openmpi' to "no", if hidden argument '--with-openmpi-inside' not given
- added functions 'MPI_Group_range_<incl|excl>' to Fortran MPI wrappers
- updated default configure options for NECSX, BlueGene/L+P
- repaired tools/opari/doc/lacsi01.pdf
- fixed several Coverity warnings

This commit was SVN r22476.
2010-01-25 16:08:56 +00:00
Matthias Jurenz
729514da7c - fixed build error: the static BFD library might be built without PIC, so do not add its objects to the shared VT libraries
- updated version numbers

This commit was SVN r22459.
2010-01-20 12:31:41 +00:00
Matthias Jurenz
59d74f73d8 - removed autogenerated files from SVN
- updated svn:ignore

This commit was SVN r22450.
2010-01-19 07:06:43 +00:00
Matthias Jurenz
6dd4e928e0 VampirTrace:
- added support for shared libraries inside Open MPI
- hidden configure option '--with-openmpi-inside'
- do not show config titles/summary if configuring inside Open MPI

This commit was SVN r22440.
2010-01-18 13:18:23 +00:00
Matthias Jurenz
da29975788 Added changes from VampirTrace-5.8
This commit was SVN r22436.
2010-01-18 09:32:57 +00:00
Matthias Jurenz
7a277b345d - repaired corrupt tools/opari/doc/lacsi01.pdf
- removed tools/opari/doc/lacsi01.ps.gz which is equivalent to tools/opari/doc/lacsi01.pdf
- corrected svn:mime-type of tools/opari/doc/opari-logo-100.gif

This commit was SVN r22267.
2009-12-04 15:08:40 +00:00
Matthias Jurenz
f1c55df65c - create a process group with the real node name on CrayXT platforms
- updated version number of integrated VT to 5.4.11

This commit was SVN r22238.
2009-11-26 07:50:07 +00:00
Jeff Squyres
ab00aea1ff Per http://www.open-mpi.org/community/lists/devel/2009/10/7025.php,
use the new Automake "silent rules" if available.

If you are using an Automake prior to v1.11, you won't see the new 
silent rules -- it will automatically default back to the "verbose" 
rules.

Note, too, that even with these changes, you can enable the verbose 
"make all" output in one of two ways:

1. Add "V=1" to your "make" command line

{{{
shell$ make all V=1
}}}

2. Add "--disable-silent-rules" to your "configure" command line:

{{{
shell$ ./configure --disable-silent-rules ...
}}}

The one down side of using the silent rules by default is that we'll 
get less diagnostic information when users send their build logs.  I 
think we should update the web page to request that users send build 
logs of "make V=1", but I'm guessing that not everyone will do it.

Note that I did ''not'' silent-ize the libltdl build (which is a dozen
or so files in the beginning of the build) because we wholly import
libltdl at autogen time.  I therefore didn't want to patch libltdl
(further) after importing it a) to remain as forward- compatible as
possible, and b) patching the imported libltdl build system might be
tricky in terms of timestamps / dependencies.  So those dozen-or-so
files will still be "verbose", but the rest of the files in OMPI will
be "silent".

This commit was SVN r22189.
2009-11-04 02:07:02 +00:00
Rainer Keller
0758127b2c - On Jaguar using the Cray compiler, choose the gettimeofday() timer,
as craycc doesn't cope with asm inline too well.

   This should be cmr:v1.5 

This commit was SVN r22170.
2009-10-29 21:31:10 +00:00
Ralph Castain
13d86e100b Courtesy of Ralph and Jeff:
Continue the reorganization of the configure system. Move files from the main config directory to their appropriate level-specific config directories. Modify the configure system to correctly handle compiler detection, test, and setup so that all things pertaining to opal and orte are done at the lower level, with the ompi configure system only looking at mpi-specific options.

Ensure the wrapper compilers for orte and ompi only get built when appropriate. Add support for c++ to the orte wrapper compilers, both script and non-script versions.

This commit was SVN r22138.
2009-10-24 01:04:35 +00:00
Ralph Castain
e1662b4c30 Add a new contrib area for "libtrace" - a debugger library that outputs the name of the called MPI function plus the value of all its arguments before passing them along to the corresonding PMPI call.
Support for the rest of the MPI bindings will be developed over time.

This commit was SVN r21849.
2009-08-20 04:36:20 +00:00
Matthias Jurenz
459784fc7b The meaning of the VT configure option '--with-openmpi' was changed (see r21679), so that the options MPICC, --with-mpi-inc-dir, and --with-mpi-status-size are not longer necessary.
This commit was SVN r21683.

The following SVN revision numbers were found above:
  r21679 --> open-mpi/ompi@77b397895c
2009-07-15 11:52:48 +00:00