Hi Axel,<br><br>I've changed the -qmaxmem flag to something reasonable. Also I've compiled the entire code without any optimizations, but no luck. md_run.f90 is still causing problems.<br>While compiling I followed the memory usage in real time. I get something like this:<br>
<br>$ vmstat 1 10<br><br>System Configuration: lcpu=32 mem=31744MB<br><br>kthr memory page faults cpu <br>----- ----------- ------------------------ ------------ -----------<br> r b avm fre re pi po fr sr cy in sy cs us sy id wa<br>
17 0 1548187 6283570 0 0 0 0 0 0 26 2106712 1295 96 2 1 0<br>16 1 1396330 6435419 0 0 0 0 0 0 4 2328892 597 94 6 0 0<br>17 0 1284356 6546951 0 0 0 0 0 0 33 1309125 2236 91 4 5 0<br>
15 0 1286970 6544337 0 0 0 0 0 0 1 130634 486 93 0 6 0<br>16 0 1287040 6544267 0 0 0 0 0 0 9 254347 472 93 1 6 0<br>16 0 1287147 6544160 0 0 0 0 0 0 5 254371 473 93 0 6 0<br>
<br>The compiler on the machine is indeed an older version 10.1. Apparently, there is a newer one 11, but before I go my sysadmin with a request that he is not going to like, I was wondering if someone here can provide some feedback if they managed to compile cp2k on a AIX 5.3 with my vesrion of the compiler. Also would it be possible to use statically linked binaries from a similar machine. If yes, can someone share them :).<br>
<br>Thanks,<br>Marius<br><br><div class="gmail_quote">On Mon, Apr 6, 2009 at 6:55 PM, Axel <span dir="ltr"><<a href="mailto:akoh...@gmail.com">akoh...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
<br>
On Apr 6, 4:11 am, Marius Retegan <<a href="mailto:marius.s...@gmail.com">marius.s...@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I'm having troubles compiling cp2k on a Power 5 machine. I would<br>
> appreciate any help in solving this problem.<br>
<br>
</div>marius,<br>
you can try to change the -qmaxmem=-1 flag into something that<br>
is closer to the amount of memory that you have physically available,<br>
but i'd also carefully check, whether the compilers on that machine<br>
are actually up to date.<br>
<br>
cheers,<br>
axel.<br>
<div><div></div><div class="h5"><br>
> Thank you.<br>
> Marius<br>
><br>
> error message:<br>
> ===================================================================================================================<br>
> xlf95 -qsuffix=f=f90 -c -O0 -q64 -qarch=pwr5 -qcache=auto -qmaxmem=-1 -<br>
> qtune=pwr5 /p5cecic/home/mretegan/source/cp2k/makefiles/../src/<br>
> md_run.F<br>
> 1517-011: (U) Compilation ended. No more system resources<br>
> available.<br>
> 1501-511 Compilation failed for file md_run.F.<br>
> gmake[1]: *** [md_run.o] Error 1<br>
> gmake[1]: *** Waiting for unfinished jobs....<br>
> ===================================================================================================================<br>
><br>
> arch file<br>
> ===================================================================================================================<br>
> CC = cc -q64<br>
> CPP = /usr/ccs/lib/cpp<br>
> FC = xlf95 -qsuffix=f=f90<br>
> LD = xlf95<br>
> AR = ar -r -X64<br>
> #DFLAGS = -D__AIX -D__ESSL -D__FFTSG -D__FFTESSL<br>
> DFLAGS = -D__AIX -D__ESSL -D__FFTSG -D__FFTW3 -I/usr/local/include<br>
> CPPFLAGS = -C $(DFLAGS) -P<br>
> FCFLAGS = -O2 -q64 -qarch=pwr5 -qcache=auto -qmaxmem=-1 -qtune=pwr5<br>
> FCFLAGS2 = -O0 -q64 -qarch=pwr5 -qcache=auto -qmaxmem=-1 -qtune=pwr5<br>
> LDFLAGS = $(FCFLAGS) -L/p5cecic/home/cp2k/LAPACK -bnoquiet\<br>
> -bmaxdata:0x80000000 -bmaxstack:0x80000000\<br>
> -L/usr/local/lib<br>
> LIBS = -llapack -lfftw3 -lessl -lmass -lhm<br>
><br>
> OBJECTS_ARCHITECTURE = machine_aix.o<br>
><br>
> pint_types.o: pint_types.F<br>
> $(FC) -c $(FCFLAGS2) $<<br>
> md_run.o: md_run.F<br>
> $(FC) -c $(FCFLAGS2) $<<br>
> ===================================================================================================================<br>
><br>
> $ gmake VERSION=sopt ARCH=AIX-PowerPC_POWER5<br>
><br>
> machine status:<br>
><br>
> $ lslpp -h xlfcmp<br>
> ===================================================================================================================<br>
> Fileset Level Action Status Date<br>
> Time<br>
><br>
> ----------------------------------------------------------------------------<br>
> Path: /usr/lib/objrepos<br>
> xlfcmp<br>
> 10.1.0.0 COMMIT COMPLETE 07/29/08<br>
> 17:33:16<br>
><br>
> Path: /etc/objrepos<br>
> xlfcmp<br>
> 10.1.0.0 COMMIT COMPLETE 07/29/08<br>
> 17:33:30<br>
> ===================================================================================================================<br>
><br>
> vmstat<br>
> ===================================================================================================================<br>
> System Configuration: lcpu=32 mem=31744MB<br>
><br>
> kthr memory page faults cpu<br>
> ----- ----------- ------------------------ ------------ -----------<br>
> r b avm fre re pi po fr sr cy in sy cs us sy id wa<br>
> 11 2 1550929 6325288 0 0 0 0 1 0 7 658363 7336 57 1<br>
> 42 0<br>
> mretegan@p5cecic2: ~ > lslpp -h xlfcmp<br>
> Fileset Level Action Status Date<br>
> Time<br>
><br>
> ----------------------------------------------------------------------------<br>
> ===================================================================================================================<br>
><br>
> ulimit -a<br>
> ===================================================================================================================<br>
> core file size (blocks, -c) 1048575<br>
> data seg size (kbytes, -d) unlimited<br>
> file size (blocks, -f) unlimited<br>
> max memory size (kbytes, -m) unlimited<br>
> open files (-n) unlimited<br>
> pipe size (512 bytes, -p) 64<br>
> stack size (kbytes, -s) hard<br>
> cpu time (seconds, -t) unlimited<br>
> max user processes (-u) 128<br>
> virtual memory (kbytes, -v) unlimited<br>
> ===================================================================================================================<br>
><br>
> TMPDIR<br>
> $ df -g /p5cecic<br>
> ===================================================================================================================<br>
> Filesystem GB blocks Free %Used Iused %Iused Mounted on<br>
> /dev/gpfs 929.53 439.81 53% 193627 21% /p5cecic<br>
> ===================================================================================================================<br>
><br>
> swap<br>
> $ lsps -a<br>
> ===================================================================================================================<br>
> Page Space Physical Volume Volume Group Size %Used Active<br>
> Auto Type<br>
> paging06 hdisk1 rootvg 2048MB 4 yes<br>
> yes lv<br>
> paging05 hdisk0 rootvg 2048MB 3 yes<br>
> yes lv<br>
> paging04 hdisk1 rootvg 2048MB 3 yes<br>
> yes lv<br>
> paging03 hdisk0 rootvg 2048MB 3 yes<br>
> yes lv<br>
> paging02 hdisk0 rootvg 2048MB 3 yes<br>
> yes lv<br>
> paging01 hdisk0 rootvg 2048MB 3 yes<br>
> yes lv<br>
> paging00 hdisk0 rootvg 2048MB 3 yes<br>
> yes lv<br>
> hd6 hdisk1 rootvg 2048MB 3 yes<br>
> yes lv<br>
> ===================================================================================================================<br>
</div></div><br>
</blockquote></div><br>