This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:feko [2018/04/23 11:17] agill |
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. |
| ===== 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> | ||
| Line 16: | Line 20: | ||
| #PBS -l walltime=1: | #PBS -l walltime=1: | ||
| #PBS -S /bin/bash | #PBS -S /bin/bash | ||
| - | #PBS -o /home/user/scratch/ | + | #PBS -o /mnt/lustre3p/users/ |
| - | #PBS -e /home/user/scratch/ | + | #PBS -e /mnt/ |
| ## The FEKO PATH | ## The FEKO PATH | ||
| + | ## Find the version that you need in / | ||
| PATH_TO_FEKO=/ | PATH_TO_FEKO=/ | ||
| - | export FEKOJOBDIR=/ | + | export FEKOJOBDIR=/ |
| ## FEKO_TMPDIR | ## FEKO_TMPDIR | ||
| export FEKO_TMPDIR=$FEKOJOBDIR/ | export FEKO_TMPDIR=$FEKOJOBDIR/ | ||
| Line 43: | 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) | + | ### This example script uses 2 compute nodes. |
| + | ### If only one node is being used, set #PBS -q smp (24 cores) | ||
| + | ### Or #PBS -q serial | ||
| #PBS -l select=2: | #PBS -l select=2: | ||
| #PBS -P MECH**** | #PBS -P MECH**** | ||
| Line 49: | Line 56: | ||
| #PBS -l walltime=1: | #PBS -l walltime=1: | ||
| #PBS -S /bin/bash | #PBS -S /bin/bash | ||
| - | #PBS -o /home/user/scratch/ | + | #PBS -o /mnt/lustre3p/users/ |
| - | #PBS -e /home/user/scratch/ | + | #PBS -e /mnt/ |
| ## The FEKO PATH | ## The FEKO PATH | ||
| + | ## Find the version that you need in / | ||
| PATH_TO_FEKO=/ | PATH_TO_FEKO=/ | ||
| - | export FEKOJOBDIR=/ | + | export FEKOJOBDIR=/ |
| ## FEKO_TMPDIR | ## FEKO_TMPDIR | ||
| export FEKO_TMPDIR=$FEKOJOBDIR/ | export FEKO_TMPDIR=$FEKOJOBDIR/ | ||