[Nek5000-users] Number of processors

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Feb 3 05:35:54 CST 2010


Fred,

LP is the upper bound on number of processors.

The actual number is determined at run-time by your mpirun or mpiexec 
command.  Are you running on with a queuing system? or just on a local
cluster.

For a local cluster, I use the following script (nekbmpi, which runs
the job in background..)


echo $1        >  SESSION.NAME
echo `pwd`'/' >>  SESSION.NAME
touch $1.rea
rm -f logfile
rm -f ioinfo
mv $1.log.$2 $1.log1.$2
mv $1.sch $1.sch1
mpiexec -np $2 nek5000 > $1.log.$2 &
ln $1.log.$2 logfile


Usage:   nekbmpi myjob 8

would run myjob.rea on 8 processors and put the results into myjob.log.8


I have a similar script for a variety of queuing systems... I find they
usually have to be tailored the particular queuing system but it makes
it very easy to use.  I can send you one of these if you'd like.

Paul




On Wed, 3 Feb 2010, nek5000-users at lists.mcs.anl.gov wrote:

> Hallo,
>
> just a short quastion: How can I define the number of processors?? I only 
> found in the SIZEu-file the parameter LP, for the maximum number of 
> processors..
>
> Thx a lot.
>
> Fred
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>



More information about the Nek5000-users mailing list