Dear OpenMPI experts:

Please forgive me if this is a silly question.

I tried to compile a finite element solver (www.csc.fi/elmer) with
OpenMPI and hypre-2.0.0.  I compiled openmpi-1.2.5 and hypre-2.0.0 from
source.

On a 32 bit OpenSUSE 10.3 OS.  Everything was compiled without any
problem.  I got about 40% speed up on a test case using a dual-core AMD.

However, when I tried to compiled elmer on a 64 bit OpenSUSE 10.2 OS, I
got an error (no error when compiling OpenMPI and Hypre).  I ran a test
hello_mpi.c on the 64 bit OS without any problem.  It is not clear to me
whether this is an OpenMPI issue or elmer issue.  I attached the error
message.  It will be appreciated if someone can shed some light on this.

Thanks!

Pei
*********************************
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export CC=mpicc
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export CXX=mpic++
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export FC=mpif90
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export F77=mpif90
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
CFLAGS=-I/usr/local/hypre2.0/include
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
FCFLAGS=-I/usr/local/hypre2.0/include
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
F77FLAGS=-I/usr/local/hypre2.0/include
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
FFLAGS=-I/usr/local/hypre2.0/include
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
LDFLAGS="-L/usr/local/hypre2.0/lib -lHYPRE"
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
ELMER_HOME=/home/peiying/elmer
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
MPI_HOME=/usr/local/openmpi
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> export
LD_LIBRARY_PATH=/usr/local/openmpi/lib:/usr/local/hypre2.0/lib:$LD_LIBRA
RY_PATH
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0> ./configure
--prefix=$ELMER_HOME --with-mpi-dir=$MPI_HOME
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for style of include used by make... GNU
checking for gcc... mpicc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ISO C89... none needed
checking dependency style of mpicc... gcc3
checking for ftello... yes
checking for fseeko... yes
checking for answer to meaning of life... 42
checking for default compilation flags... optimized
checking whether we are using the GNU C compiler... (cached) yes
checking whether mpicc accepts -g... (cached) yes
checking for mpicc option to accept ISO C89... (cached) none needed
checking dependency style of mpicc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether mpic++ accepts -g... yes
checking dependency style of mpic++... gcc3
checking whether we are using the GNU Fortran compiler... yes
checking whether mpif90 accepts -g... yes
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether mpif90 accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking for ar flags... cru
checking whether we are using the Microsoft C compiler... no
checking for /lib/cpp... yes
checking for C++ linker flags...  -L/usr/local/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/l
ib -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../.. -lmpi_cxx -lmpi
-lopen-rte -lopen-pal -ldl -lnsl -lutil -ldl -lstdc++ -lm -lgcc_s
-lpthread -lgcc_s
checking how to run the C preprocessor... /lib/cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for 64 bit compilation flags... let's see what happens
checking for 64 bit CFLAGS... -m64 -fPIC
checking for 64 bit FCFLAGS... -m64 -fPIC
checking for 64 bit CXXFLAGS... -m64 -fPIC
checking for 64 bit FFLAGS... -m64 -fPIC
checking for void*... yes
checking size of void*... 8
checking to see if we got 64 bits... oh yes
checking how to get verbose linking output from mpif90... -v
checking for Fortran 77 libraries of mpif90...
-L/usr/local/hypre2.0/lib -L/usr/local/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/l
ib -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../.. -lHYPRE -lmpi_f90
-lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -lgfortranbegin
-lgfortran -lm -lpthread
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore,
no extra underscore
checking how to get verbose linking output from mpif90... -v
checking for Fortran libraries of mpif90...  -L/usr/local/hypre2.0/lib
-L/usr/local/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/l
ib -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../.. -lHYPRE -lmpi_f90
-lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -lgfortranbegin
-lgfortran -lm -lpthread
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no
extra underscore
checking for Fortran char* mangling scheme... char_ptr
checking for fortran intrinsic etime... found
checking for fortran intrinsic flush... found
checking for shl_load in -ldld... no
checking for shl_load... no
checking for shl_findsym... no
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dlsym... yes
checking for dlerror... yes
checking for dlclose... yes
checking for mpi-directory... /usr/local/openmpi
checking for mpi-lib-directory... /usr/local/openmpi/lib
checking for mpi-inc-directory... /usr/local/openmpi/include
checking for MPI library... found mpi
checking for compilation of an MPI program... seems ok
checking for /usr/local/openmpi/include/mpif.h... yes
checking for mpf90... no
checking for mpxlf90... no
checking for sgemm_... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... yes
checking for dgemm_ in -ldgemm... no
checking for sgemm_ in -lcxml... no
checking for sgemm_ in -ldxml... no
checking for sgemm_ in -lscs... no
checking for sgemm_ in -lcomplib.sgimath... no
checking for sgemm_ in -lblas... (cached) yes
checking for sgemm_ in -lessl... no
checking for sgemm_ in -lessl... (cached) no
checking for sgemm_ in -lblas... (cached) yes
checking for cheev_... no
checking for cheev_ in -llapack... yes
checking for huti_d_gmres_ in -lhuti... yes
checking for eio_init_ in -leiof... yes
checking for dseupd_ in -larpack... yes
checking for pdneupd_ in -lparpack... no
configure: WARNING: No parallel arpack found.
checking for HYPRE_IJMatrixCreate in -lHYPRE... no
configure: WARNING: HYPRE not found, some functionaly will be disabled.
checking for umf4def_ in -lumfpack... yes
checking for mtc_init in -lmatc... yes
checking for main in -lm... yes
configure: error: The MPI version needs parpack. Disabling MPI.
peiying@saturn:~/elmer/elmer-5.4.0/fem-5.4.0>   


-------------------------------------
Pei-Ying Hsieh, Ph.D.
Staff Product Engineer 
Siemens Healthcare Diagnostics Inc.
511 Benedict Ave., MS 32
Tarrytown, NY 10591
USA
Phone: (914)524-3146
fax:   (914)524-2580
email: pei-ying.hs...@siemens.com
www.siemens.com/diagnostics

----------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions 
and are intended only for the addressee(s). 
The information contained herein may include trade secrets or privileged or 
otherwise confidential information. Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful. If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to central.securityoff...@siemens.com 

Thank you

Reply via email to