[Solved]Out of memory error while compiling Abinit 6.2.2

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
Robin
Posts: 61
Joined: Thu Jan 14, 2010 3:18 am

[Solved]Out of memory error while compiling Abinit 6.2.2

Post by Robin » Fri Aug 13, 2010 7:27 am

Dear friends,

When I try to use a configuration (see below) which succeeds before to compile the latest version Abinit 6.2.2, an out-of-memory error appears (see below). Could you tell me what is wrong and how to avoid it? Thanks a lot.

Sincerely,
Guangfu Luo


P.S. The physical memory of the node where I compile Abinit is 8 GB. The intel ifort compiler version is 9.1.052 and the openmpi version is 1.4.2 (I also tried intel mpi 4.0.0.028). The cpu is "AMD Opteron(tm) Processor 2220"



-----------------------------------------------------Configuration-------------------------------------------------------------------------

./configure FC=/home/opt/intel/openmpi-1.4.2/bin/mpif90 --enable_mpi=yes --enable-mpi-io=yes --enable-etsf-io=no --enable-64bit-flags=yes

----------------------------------------------------Error Message--------------------------------------------------------------------------
/home/opt/intel/openmpi-1.4.2/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/abinit-6.2.2_openmpi1.4/plugins/bigdft -I/home/abinit-6.2.2_openmpi1.4/plugins/netcdf -free -module /home/abinit-6.2.2_openmpi1.4/src/mods -O2 -g -extend-source -vec-report0 -c -o outvars.o outvars.F90

Fatal compilation error: Out of memory asking for 36872.
compilation aborted for outvars.F90 (code 1)
make[3]: *** [outvars.o] Error 1
make[3]: Leaving directory `/panfs/panasas/home-abinit-6.2.2_openmpi1.4/src/57_iovars'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/panfs/panasas/home-abinit-6.2.2_openmpi1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/panfs/panasas/home-abinit-6.2.2_openmpi1.4'
make: *** [all] Error 2
Last edited by Robin on Wed Aug 18, 2010 1:54 am, edited 1 time in total.

Robin
Posts: 61
Joined: Thu Jan 14, 2010 3:18 am

Re: Out of memory error while compiling Abinit 6.2.2

Post by Robin » Wed Aug 18, 2010 1:53 am

Dear friends,

I got the cause of this problem: our cluster administrator set a memory limitation before and it is too low to finish the compilation.

Sincerely,
Guangfu Luo

Locked