[MITgcm-support] Out of memory: optfile for IBM AIX with complier xlf90

王刚 wangg at fio.org.cn
Wed Sep 3 20:59:30 EDT 2014


Dear all,


Can someone help me to check my optfile for IBM with AIX 6.1 as the operating system, and xlf90 for complier? I can successfully pass the compling process and get the executable file:mitgcmuv. However, the job finished after a short run, with the error message like: 
exec(): 0509-036 Cannot load program ./mitgcmuv because of the following errors:
        0509-026 System errors: There is not enough memory available now


My job uses 8 cups, but the mechine still has at least 100 cups left!  I think the problem is due to wrong parameters in the optfile script. My optfile looks like:               


#!/bin/bash
#
# $Name: checkpoint65b $
#  using the following invocation:
#    ../../../tools/genmake2 -mpi -mods=../code -of=../../../tools/build_options/IBM_AIX_xlf90+mpi


S64='$(TOOLSDIR)/set64bitConst.sh'
MAKEDEPEND=makedepend
DEFINES='-DTARGET_AIX -DALLOW_USE_MPI -DALWAYS_USE_MPI  -DWORDLENGTH=4'


INCLUDES='-I/usr/local64/include -I/usr/lpp/ppe.poe/include/thread64'
CPP='/usr/lib/cpp -P'
CC='mpcc -q64'
FC='mpxlf90 -q64'
LINK='mpxlf90 -q64'
MPI='true'
LIBS="-L/usr/lib64 -L/usr/local64/lib -L/usr/lpp/ppe.poe/lib64 -lmpi  -lnetcdf"
FFLAGS='-qfixed=132'
if test "x$IEEE" = x ; then
    #  No need for IEEE-754
    FOPTIM='-O3 -qarch=pwr7 -qtune=pwr7 -qhot'
    #CFLAGS='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
else
    #  Try to follow IEEE-754
    FOPTIM='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
    #CFLAGS='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
fi
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"




I submit my task using another script: 


#!/usr/bin/ksh
#@job_type=parallel
#@job_name=task1
#@ class = normal
#@ group = group2
#@node    =1
#@tasks_per_node=8
#@output=$(job_name).out
#@error=$(job_name).err
#@queue
poe ./mitgcmuv 


I'll appreciate your help very much!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20140904/4b433974/attachment.htm>


More information about the MITgcm-support mailing list