Clustersystem > Forum

Compiled matlab - cannot allocate memory


Autor Nachricht
Verfasst am: 07. 08. 2012 [15:47]
hhoffmann
Holger Hoffmann
Themenersteller
Dabei seit: 21.12.2011
Beiträge: 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

Verfasst am: 15. 08. 2012 [10:25]
hhoffmann
Holger Hoffmann
Themenersteller
Dabei seit: 21.12.2011
Beiträge: 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



[Dieser Beitrag wurde 1mal bearbeitet, zuletzt am 15.08.2012 um 10:26.]



Benutzeranmeldung

Geben Sie Ihren Benutzernamen und Ihr Passwort ein, um sich an der Website anzumelden:

Registrierung

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

Letzte Änderung: 12.04.2011
 
Verantwortlich RRZN