COBALT

Cobalt User Manual V5

aries example

Note the changes in green
See v5.2 below to use the other license server

Replace X where X is the number of processors (up to 32)

#!/bin/csh
#PBS -q cobalt -l
select=1:ncpus=X:cobalt=True:mpiprocs=X -l cobalt_ncpus_aries=X
setenv COBALT /apps/cobalt
setenv COBALT_LIC /apps/cobalt/license
setenv COBALT_UTILITIES_LIC $COBALT_LIC/utilities.lic
setenv CBLTLOC $COBALT
setenv RUN mpirun
source $COBALT/setup_mpi
setenv CASE cyl3d_G6L
setenv SCRATCH /apps/cobalt/user/sclo
setenv CASEDIR $SCRATCH/$CASE
mkdir $CASEDIR
setenv DESTINATION /user/sclo/COBALT/RUN2/$CASE
setenv MPI_TYPE_MAX 500000
cd $CASEDIR
cp -f $DESTINATION/$CASE.bc .
cp -f $DESTINATION/$CASE.grd .
.
 NO. PROCESSORS FOR COBALT
    
X
.
$CBLTLOC/CoMPIRUN \
amd64 \
double \
.

cp * $DESTINATION
cp ./viz/* $DESTINATION/viz
cp ./cnvrg/* $DESTINATION/cnvrg
cd; rm -rf $CASEDIR

 

changes for v5.2

You must use cobalt_ncpus
setenv COBALT /apps/cobalt/V5.2