1
1
openmpi/opal/config
Jeff Squyres bffa5c8f7e * Rename OMPI_CHECK_PTHREAD_PIDS to OPAL_CHECK_PTHREAD_PIDS.
* Convert from AC_TRY_RUN to AC_RUN_IFELSE.
 * Excellent suggestion from Paul Hargrove: use AC_CHECK_FUNC to look
   for a Linuxthreads-specific symbol when we're cross compiling to
   see if threads will have different PIDs (because AC_CHECK_FUNC
   works properly even when in cross-compiling environments).

Background: the old/Linuxthreads-based pthreads implementation used
the Linux clone() call to make threads, which effectively meant that
each thread had a different PID.  The new NPTL pthreads implementation
does things better, meaning that threads have the same PID.  

Open MPI no longer supports threads with different PIDs -- we ripped
out the supporting code for threads with different PIDs because we
don't have systems available to test this on anymore (anyone who still
has such a system can still use older versions of Open MPI).  Hence,
configure needs to determine whether the target system will have the
same PID for threads or not -- even if we're cross-compiling.  The
current test compiles and runs a multi-threaded app that checks PIDs
of different threads, but we clearly can't do that in a
cross-compiling environment.  So use AC_CHECK_FUNC in cross-compiling
environments.

Simple, no?

This commit was SVN r24537.
2011-03-17 11:59:54 +00:00
..
config_files.m4 Update libevent to the 2.0 series, currently at 2.0.7rc. We will update to their final release when it becomes available. Currently known errors exist in unused portions of the libevent code. This revision passes the IBM test suite on a Linux machine and on a standalone Mac. 2010-10-24 18:35:54 +00:00
opal_case_sensitive_fs_setup.m4 Move the test for case-sensitive file system from ompi to opal so that all layers can have that knowledge. 2009-12-29 23:26:45 +00:00
opal_check_attributes.m4 - The Sun-compiler 12 update 1 complains about noreturn-attributes 2010-08-27 09:18:30 +00:00
opal_check_compiler_version.m4 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. 2010-09-17 23:04:06 +00:00
opal_check_ident.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_check_offsetof.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_check_os_flavors.m4 Reorganize the opal interface code in opal/util/if.c per prior emails and telecon discussions. Move the interface discovery code into a framework so that configuration logic can separate it out (instead of the prior #if-#else confusion). 2010-09-13 01:58:51 +00:00
opal_check_pthread_pids.m4 * Rename OMPI_CHECK_PTHREAD_PIDS to OPAL_CHECK_PTHREAD_PIDS. 2011-03-17 11:59:54 +00:00
opal_check_visibility.m4 Fix some wordings in the test messages 2010-10-23 14:35:25 +00:00
opal_config_asm.m4 Add prefix for PPC hosts 2011-03-11 22:58:51 +00:00
opal_config_threads.m4 * Rename OMPI_CHECK_PTHREAD_PIDS to OPAL_CHECK_PTHREAD_PIDS. 2011-03-17 11:59:54 +00:00
opal_configure_options.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_functions.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_setup_cc.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_setup_cxx.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_setup_libltdl.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00
opal_setup_wrappers.m4 Per http://www.open-mpi.org/community/lists/devel/2010/11/8671.php, 2010-11-12 23:22:11 +00:00