Clustersystem > Forum

Compiled matlab - cannot allocate memory


Author Message
Written on: 07. 08. 2012 [15:47]
hhoffmann
Holger Hoffmann
Topic creator
registered since: 21.12.2011
Posts: 30
Hi,

I just got this abort, running a compiled matlab routine:
-----------------------------------------------------
Job ran on: tane-n022.rrzn.uni-hannover.de
/var/spool/torque/mom_priv/jobs/605019-1722.batch.rrzn.uni-hannover.de.SC: fork: Cannot allocate memory
-----------------------------------------------------
Job ran on Tuesday 7-8-2012, 15:41 and was speciefied as

#PBS -l walltime=00:10:00
#PBS -l mem=1gb
#PBS -t 1501-1736

Any idea what "Cannot allocate memory" means?

Kind regards,

Holger

Written on: 15. 08. 2012 [10:25]
hhoffmann
Holger Hoffmann
Topic creator
registered since: 21.12.2011
Posts: 30
Hi,

the problem was solved as follows:
-------------------------------------------------------------
#!/bin/bash -login
#PBS -N biascorr_CLM
#PBS -M hoffmannbgt.uni-hannover[dot]de
#PBS -m a
#PBS -j oe
#PBS -l nodes=1:ppn=1
#PBS -l walltime=00:10:00
#PBS -l mem=10gb
#PBS -t 1-1736

# show which computer the job ran on
echo "Job ran on:" $(hostname)

# change to work dir:
cd $PBS_O_WORKDIR

RUN='CLM'
#PBS -v RUN

# log file name
LOGFILE=$(echo $PBS_JOBID | cut -d"." -f1).log

#Setup MCR cache directory locally
export MCR_CACHE_ROOT=/tmp/mcr_cache_$PBS_JOBID
mkdir -p $MCR_CACHE_ROOT

# the program to run
/home/nhpghoff/biascorr/distrib/run_biascorr.sh /sw/aws/numerics/matlab/MATLAB_R2012a &> $LOGFILE

#Remove temporary MCR cache directory
/bin/rm -rf $MCR_CACHE_ROOT
-----------------------------------------------------------

following this link:
http://cac.engin.umich.edu/resources/software/mcc.html

best regards,

holger



[This article was edited 1 times, at last 15.08.2012 at 10:26.]



User login

Enter your username and password here in order to log in on the website:

Registrierung

Falls Sie noch keinen Benutzer-Zugang zu dem Forum haben, können Sie sich jederzeit registrieren:

Last Change: 12.04.2011
 
Editorial Responsibility RRZN