User Tools

Site Tools


howto:feko

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:feko [2018/04/23 11:16]
agill [Example job script with remote license server]
howto:feko [2021/12/09 16:42] (current)
Line 1: Line 1:
 ====== FEKO at the CHPC ====== ====== FEKO at the CHPC ======
  
-FEKO is available for use by authorised users.+FEKO is available for use by authorised users.  Various versions are installed under the directory /apps/chpc/compmech/altair.  Please look at the directory to find the version that suits your purpose.  There is a 2017 version under hw2017/altair/feko/, a 2018 version under feko2018 and version 14 under feko14.0.  
  
  
 ===== Example job script ===== ===== Example job script =====
 +
 +==== This is for TESTING purposes only ====  
 +
 +Once you have this process working, you **MUST** start using your own campus licenses, as per the second example script.
  
 <file bash fekorun.qsub> <file bash fekorun.qsub>
 #!/bin/bash #!/bin/bash
-### This example script uses 2 compute nodes.  If only one node is being used, set #PBS -q smp (24 cores) or -q serial+### This example script uses 2 compute nodes.  
 +### If only one node is being used, set #PBS -q smp (24 cores) 
 +### Or #PBS -q serial to for a few cores (<24) on a shared node
 #PBS -l select=2:ncpus=24:mpiprocs=24:nodetype=haswell_reg #PBS -l select=2:ncpus=24:mpiprocs=24:nodetype=haswell_reg
 #PBS -P MECH**** #PBS -P MECH****
Line 14: Line 20:
 #PBS -l walltime=1:00:00 #PBS -l walltime=1:00:00
 #PBS -S /bin/bash #PBS -S /bin/bash
-#PBS -o /home/user/scratch/fekotest/fekostdout.txt +#PBS -o /mnt/lustre3p/users/jblogs/fekotest/fekostdout.txt 
-#PBS -e /home/user/scratch/fekotest/fekostderr.txt+#PBS -e /mnt/lustre3p/users/jblogs/fekotest/fekostderr.txt
 ## The FEKO PATH ## The FEKO PATH
 +##  Find the version that you need in /apps/chpc/compmech/altair
 PATH_TO_FEKO=/apps/chpc/compmech/altair/feko14.0/altair/feko/ PATH_TO_FEKO=/apps/chpc/compmech/altair/feko14.0/altair/feko/
-export FEKOJOBDIR=/home/user/scratch/fekotest+export FEKOJOBDIR=/mnt/lustre3p/users/jblogs/fekotest
 ## FEKO_TMPDIR ## FEKO_TMPDIR
 export FEKO_TMPDIR=$FEKOJOBDIR/tmp export FEKO_TMPDIR=$FEKOJOBDIR/tmp
Line 41: Line 48:
 <file bash fekorun.qsub> <file bash fekorun.qsub>
 #!/bin/bash #!/bin/bash
-### This example script uses 2 compute nodes. If only one node is being used, set #PBS -q smp (24 cores) or -q serial+### This example script uses 2 compute nodes.  
 +### If only one node is being used, set #PBS -q smp (24 cores) 
 +### Or #PBS -q serial to for a few cores (<24) on a shared node
 #PBS -l select=2:ncpus=24:mpiprocs=24:nodetype=haswell_reg #PBS -l select=2:ncpus=24:mpiprocs=24:nodetype=haswell_reg
 #PBS -P MECH**** #PBS -P MECH****
Line 47: Line 56:
 #PBS -l walltime=1:00:00 #PBS -l walltime=1:00:00
 #PBS -S /bin/bash #PBS -S /bin/bash
-#PBS -o /home/user/scratch/fekotest/fekostdout.txt +#PBS -o /mnt/lustre3p/users/jblogs/fekotest/fekostdout.txt 
-#PBS -e /home/user/scratch/fekotest/fekostderr.txt+#PBS -e /mnt/lustre3p/users/jblogs/fekotest/fekostderr.txt
 ## The FEKO PATH ## The FEKO PATH
 +##  Find the version that you need in /apps/chpc/compmech/altair
 PATH_TO_FEKO=/apps/chpc/compmech/altair/feko14.0/altair/feko/ PATH_TO_FEKO=/apps/chpc/compmech/altair/feko14.0/altair/feko/
-export FEKOJOBDIR=/home/user/scratch/fekotest+export FEKOJOBDIR=/mnt/lustre3p/users/jblogs/fekotest
 ## FEKO_TMPDIR ## FEKO_TMPDIR
 export FEKO_TMPDIR=$FEKOJOBDIR/tmp export FEKO_TMPDIR=$FEKOJOBDIR/tmp
/app/dokuwiki/data/attic/howto/feko.1524474977.txt.gz · Last modified: 2021/12/09 16:42 (external edit)