problem with compiling on MacOs


Click here for full thread
Clicked A Few Times
Dear all,

I am new in the NWChem community and try to compile the 6.1.1 version on our Mac cluster.

I used the ifort 12.1.0, gcc 4.2.1 and openmpi 1.6.5 compilers.

I used tha following options:

export NWCHEM_TOP=/opt/app/darwin-x86/nwchem2/test/nwchem-6.1.1
export LARGE_FILES=TRUE
export OLD_GA=yes
export NWCHEM_TARGET=MACX
export NWCHEM_MODULES="all"
export BLASOPT="-L/opt/intel/mkl/lib/ -lmkl_core -lmkl_sequential -lmkl_intel_ilp64"
export LIBRARY_PATH="$LIBRARY_PATH:/opt/app/darwin-x86/openmpi-1.6.5/lib/:/opt/intel/mkl/lib/"
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MPI_LOC=/opt/app/darwin-x86/openmpi-1.6.5
export MPI_INCLUDE=/opt/app/darwin-x86/openmpi-1.6.5/include
export LIBMPI="-lmpi -lmpi_f90 -lmpi_f77"
export FC=ifort
export CC=gcc
export F77=ifort
export HAS_BLAS=yes

and compile the code using this command:

make FC=ifort >& make.log

Everything looks fine in the make.log file but the following error occurs when I execute a test input.

/opt/app/darwin-x86/openmpi-1.6.5/bin/mpirun -np 2 /opt/app/darwin-x86/nwchem2/test/nwchem-6.1.1/bin/MACX64/nwchem opt.nw
argument  1 = opt.nw
MA fatal error: MA_sizeof: invalid datatype: 4337916969969
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
mca_btl_sm.so 00000001114034F1 Unknown Unknown Unknown
libmpi.1.dylib 0000000110F7BF35 Unknown Unknown Unknown
mca_coll_tuned.so 00000001114C621E Unknown Unknown Unknown
mca_coll_tuned.so 00000001114C63D8 Unknown Unknown Unknown
mca_coll_tuned.so 00000001114BC510 Unknown Unknown Unknown
mca_coll_sync.so 00000001114B6D74 Unknown Unknown Unknown
libmpi.1.dylib 0000000110F88DDC Unknown Unknown Unknown
nwchem 00000001029F7D02 Unknown Unknown Unknown
nwchem 00000001029F9D31 Unknown Unknown Unknown
nwchem 0000000100009544 Unknown Unknown Unknown
nwchem 000000010000122C Unknown Unknown Unknown
nwchem 0000000100000FAC Unknown Unknown Unknown
nwchem 0000000100000F64 Unknown Unknown Unknown


mpirun has exited due to process rank 0 with PID 1713 on
node ar017119.rech.ensc-rennes.fr exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).



Below is the my test input file

memory 200000 mb

geometry noautoz
symmetry group C1
Au 1.4 0.0 0.0
Au -1.4 0.0 0.0
Au 0.0 1.4 0.0
Au 0.0 -1.4 0.0
end

basis spherical
Au library "stuttgart_rsc_1997_ecp"
end

ecp
Au library "stuttgart_rsc_1997_ecp"
end

dft
xc xpbe96 cpbe96
iterations 400
end
  1. tddft
  2. cis
  3. nroots 10
  4. target 1
  5. MAXITER 100
  6. end
driver
maxiter 100
end
task dft optimize

HELP!!

thanks in advance