LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Saltzman, Jeffrey S (jeffrey_saltzman_at_[hidden])
Date: 2004-10-18 21:55:09


I have tried to install LAM-MPI 7.1.1 and 7.2b1svn10182004 on Cygwin and was
careful to install without romio and have ipc-daemon2 running. However, the
configurations do not seem to see the SYSV semaphores. From the config.log
file shows that it compiles but doesn't execute properly. I have also run
the ipctestcygipc tests to insure that the daemon was running. Anything
else to check?

Jeff

configure:18873: checking if SYSV semaphores work with -lcygipc
configure:18922: gcc -o conftest.exe -O3 -DLAM_BUILDING=1 conftest.c
-lcygipc >&5
configure:18925: $? = 0
configure:18927: ./conftest.exe
configure:18930: $? = 3
configure: program exited with status 3
configure: failed program was:
| #line 18888 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define LAM_MAJOR_VERSION 7
| #define LAM_MINOR_VERSION 2
| #define LAM_RELEASE_VERSION 0
| #define LAM_ALPHA_VERSION 0
| #define LAM_BETA_VERSION 1
| #define LAM_SVN_VERSION 9913
| #define LAM_VERSION "7.2b1svn10182004"
| #define LAM_DEPENDENCY_PREFIX "/usr/local"
| #define LAM_ARCH "i686-pc-cygwin"
| #define LAM_WANT_DEBUG 0
| #define LAM_CC "gcc"
| #define LAM_CONFIG_FORCE_PROTOS 1
| #define LAM_HAVE_int2 0
| #define LAM_HAVE_uint2 0
| #define LAM_HAVE_int4 0
| #define LAM_HAVE_uint4 0
| #define LAM_HAVE_int8 0
| #define LAM_HAVE_uint8 0
| #define LAM_HAVE_float4 0
| #define LAM_HAVE_float8 0
| #define LAM_SIZEOF_CHAR 1
| #define LAM_SIZEOF_SHORT 2
| #define LAM_SIZEOF_WCHAR 2
| #define LAM_SIZEOF_INT 4
| #define LAM_SIZEOF_LONG 4
| #define LAM_SIZEOF_LONG_LONG 8
| #define LAM_SIZEOF_FLOAT 4
| #define LAM_SIZEOF_DOUBLE 8
| #define LAM_SIZEOF_LONG_DOUBLE 12
| #define LAM_SIZEOF_VOID_P 4
| #define LAM_ALIGNMENT_CHAR 1
| #define LAM_ALIGNMENT_SHORT 2
| #define LAM_ALIGNMENT_WCHAR 2
| #define LAM_ALIGNMENT_INT 4
| #define LAM_ALIGNMENT_LONG 4
| #define LAM_ALIGNMENT_LONG_LONG 8
| #define LAM_ALIGNMENT_FLOAT 4
| #define LAM_ALIGNMENT_DOUBLE 8
| #define LAM_ALIGNMENT_LONG_DOUBLE 4
| #define LAM_ALIGNMENT_VOID_P 4
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define LAM_CXX "g++"
| #define LAM_HAVE_CPP_EXCEPTION_SUPPORT 0
| #define LAM_CXX_NOTHROW_NEW 1
| #define LAM_CXX_NOTHROW_NEW_ARG (std::nothrow)
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define LAM_CXX_STL 1
| #define LAM_CXX_BOOL 1
| #define LAM_CXX_TRUE_FALSE 1
| #define LAM_SIZEOF_CXX_BOOL 1
| #define LAM_SIZEOF_CXX_INT 4
| #define LAM_ALIGNMENT_CXX_BOOL 1
| #define LAM_ALIGNMENT_CXX_INT 4
| #define LAM_CXX_BOOL_TYPE unsigned char
| #define LAM_FORTRANDOUBLEUNDERSCORE 1
| #define LAM_FORTRANUNDERSCORE 0
| #define LAM_FORTRANCAPS 0
| #define LAM_FORTRANNOUNDERSCORE 0
| #define LAM_SIZEOF_FORTRAN_INT 4
| #define LAM_SIZEOF_FORTRAN_REAL 4
| #define LAM_SIZEOF_FORTRAN_DBLPREC 8
| #define LAM_SIZEOF_FORTRAN_COMPLEX 8
| #define LAM_SIZEOF_FORTRAN_DBLCOMPLEX 16
| #define LAM_SIZEOF_FORTRAN_INTEGER1 1
| #define LAM_SIZEOF_FORTRAN_INTEGER2 2
| #define LAM_SIZEOF_FORTRAN_INTEGER4 4
| #define LAM_SIZEOF_FORTRAN_INTEGER8 8
| #define LAM_SIZEOF_FORTRAN_REAL4 4
| #define LAM_SIZEOF_FORTRAN_REAL8 8
| #define LAM_SIZEOF_FORTRAN_REAL16 0
| #define LAM_FORTRAN_C_TYPE_INTEGER1 char
| #define LAM_FORTRAN_C_TYPE_INTEGER2 short
| #define LAM_FORTRAN_C_TYPE_INTEGER4 int
| #define LAM_FORTRAN_C_TYPE_INTEGER8 long long
| #define LAM_FORTRAN_C_TYPE_REAL4 float
| #define LAM_FORTRAN_C_TYPE_REAL8 double
| #define LAM_FORTRAN_C_TYPE_REAL16 float
| #define LAM_ALIGNMENT_FORTRAN_INT 4
| #define LAM_ALIGNMENT_FORTRAN_REAL 4
| #define LAM_ALIGNMENT_FORTRAN_DBLPREC 8
| #define LAM_ALIGNMENT_FORTRAN_COMPLEX 4
| #define LAM_ALIGNMENT_FORTRAN_DBLCOMPLEX 8
| #define LAM_ALIGNMENT_FORTRAN_INTEGER1 1
| #define LAM_ALIGNMENT_FORTRAN_INTEGER2 2
| #define LAM_ALIGNMENT_FORTRAN_INTEGER4 4
| #define LAM_ALIGNMENT_FORTRAN_INTEGER8 8
| #define LAM_ALIGNMENT_FORTRAN_REAL4 4
| #define LAM_ALIGNMENT_FORTRAN_REAL8 8
| #define LAM_ALIGNMENT_FORTRAN_REAL16 0
| #define LAM_FLIBPATH "-L"
| #define LAM_WANT_PROFILE 1
| #define LAM_WANT_TRILLIUM_INSTALL 0
| #define LAM_WANT_ROMIO 0
| #define HAVE_LIBAIO 0
| #define LAM_WANT_FORTRAN 1
| #define LAM_F77 "g77"
| #define LAM_WANT_MPI2CPP 1
| #define LAM_WANT_CPPFILE 0
| #define LAM_WANT_IMPI 0
| #define LAM_USE_SELECT_YIELD 0
| #define LAM_SIGUSR SIGUSR2
| #define LAM_DISINFECT 0
| #define LAM_TO_BOOT 60
| #define LAM_TO_DLO_ACK 500000
| #define LAM_TO_DLO_IDLE 120
| #define LAM_WANT_MPI_STUBS 0
| #define LAM_WANT_BOOT_PROMISC_CONNECTIONS 0
| #define LAM_RM "/usr/bin/rm -f"
| #define LAM_HAVE_PROTO_snprintf 1
| #define LAM_HAVE_PROTO_gethostname 1
| #define HAVE_GRP_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_RPC_TYPES_H 1
| #define HAVE_RPC_XDR_H 1
| #define HAVE_PTY_H 1
| #define HAVE_SCHED_H 1
| #define HAVE_STRINGS_H 1
| #define LAM_HAVE_FIONBIO 0
| #define LAM_HAVE_SA_RESTART 1
| #define LAM_HAVE_SA_LEN 0
| #define LAM_HAVE_UNION_SEMUN 0
| #define LAM_NEED_SYS_SELECT_H 1
| #define LAM_HAVE_OPENPTY 1
| #define LAM_HAVE_ATEXIT 1
| #define LAM_HAVE_GETCWD 1
| #define LAM_HAVE_YIELD 0
| #define LAM_HAVE_SNPRINTF 1
| #define LAM_HAVE_ATOLL 1
| #define LAM_HAVE_STRTOLL 1
| #define LAM_HAVE_SCHED_YIELD 1
| #define LAM_HAVE_SYSCONF 1
| #define LAM_HAVE_SYSCTL 0
| #define LAM_HAVE_VSCANF 1
| #define LAM_HAVE_VA_COPY 1
| #define LAM_HAVE_UNDERSCORE_VA_COPY 1
| #define LAM_WANT_PREFIX_MEMCPY 0
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/sem.h>
| #include <sys/ipc.h>
| #include <stdlib.h>
|
| #if LAM_HAVE_UNION_SEMUN
| static union semun semctl_arg;
| #else
| static union {
| int val;
| struct semid_ds *buf;
| unsigned short *array;
| } semctl_arg;
| #endif
|
| int main(int argc, char **argv){
| int semid;
| /* Create a private semaphore set */
| semid = semget (IPC_PRIVATE, 1, 0777);
| /* If successful try to release it */
| if( semid == -1 || semctl(semid, 0, IPC_RMID, semctl_arg) == -1 ){
| exit(3); /* one of them failed */
| }
| return 0; /* semget() and semctl() work */
| }
configure:18951: result: no

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
------------------------------------------------------------------------------