Quote:Huub Aug 10th 6:10 pmA fix for this problem has just been checked in into the development version. Please drop me a line if you need a patch.
Thanks for the patch. But right now I am getting the following memory related error
Memory Information
------------------
Available GA space size is 3220429150 doubles
Available MA space size is 805298131 doubles
Length of a trial vector is 56832 56430
Algorithm : Incore multiple tensor contraction
Estimated peak GA usage is 2333263668 doubles
Estimated peak MA usage is 18000 doubles
3: WARNING:armci_set_mem_offset: offset changed 691299565568 to 691299561472
1: WARNING:armci_set_mem_offset: offset changed 637311901696 to 637311897600
2: WARNING:armci_set_mem_offset: offset changed 315961344000 to 315961339904
id=-1 size=2273312768
******************* ARMCI INFO ************************
The application attempted to allocate a shared memory segment of 2273312768 bytes in size. This might be in addition to segments that were allocated succ
esfully previously. The current system configuration does not allow enough shared memory to be allocated to the application.
This is most often caused by:
1) system parameter SHMMAX (largest shared memory segment) being too small or
2) insufficient swap space.
Please ask your system administrator to verify if SHMMAX matches the amount of memory needed by your application and the system has sufficient amount of
swap space. Most UNIX systems can be easily reconfigured to allow larger shared memory segments,
see http://www.emsl.pnl.gov/docs/global/support.html
In some cases, the problem might be caused by insufficient swap space.
*******************************************************
0:allocate: failed to create shared region : -1
(rank:0 hostname:Doudou-PC pid:4121):ARMCI DASSERT fail. ../../ga-5-1/armci/src/memory/shmem.c:armci_allocate():1117 cond:0
Last System Error Message from Task 0:: No space left on device
I tried to increase the SHMMAX value using
sudo sysctl -w kernel.shmmax=4294967296
But I still got the same error.
System Specifications: Ubuntu 12.04 64-bit, NWChem 6.1 compiled with OpenMPI 1.6, i7-2600K (4 cores) 16 GB RAM and 16 GB Swap space.
export NWCHEM_TOP=/home/doudou/Programs/nwchem-6.1.1-src
export NWCHEM_TARGET=LINUX64
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MPI_LOC=/usr/local
export MPI_LIB=$MPI_LOC/lib
export LIBMPI="-lmpi_f90 -lmpi_f77 -lmpi -lpthread"
export MPI_INCLUDE=$MPI_LOC/include
export LARGE_FILES=TRUE
export NWCHEM_MODULES=all
cd $NWCHEM_TOP/src
make nwchem_config
make FC=gfortran >& make.log
|