|
[Sponsors] |
September 11, 2020, 06:25 |
SU2 execution using qsub
|
#1 |
New Member
Ranjan
Join Date: Apr 2014
Posts: 29
Rep Power: 12 |
Hello
I am trying to compile and run SU2 V. 7.0.2 on a cluster that uses qsub to submit jobs. While I was able to compile and run SU2 on the head node, Jon submission using qsub keeps failing. I am currently in the process of working this out with the cluster admin but I wanted to make sure that the qsub file is indeed correct : #!/bin/bash #PBS -l walltime=00:05:00 #PBS -l nodes=1pn=16 #PBS -N openmpi_job #PBS -q secondary #PBS -j oe ###PBS -o openmpijob.out ###PBS -e openmpijob.err ###PBS -m be # ##################################### # Load MPI module (Enable MPI in user environment) module load openmpi/3.1.1-intel-18.0 module load vim/8.1 module load boost/1.71.0 module load git/2.19.0 module load python/3 module load anaconda/2019-Oct/3 module unload python/2 module load /projects/eng/shared/kaijames/modulefiles/swig/2.0.10 module load gcc # Change to the directory from which the batch job was submitted export PBS_JOBDIR=/projects/eng/shared/kaijames/SU2/test/Turbulent_2D_Constrained_RAE2822/ # Run the MPI code shape_optimization.py -n 16 -g DISCRETE_ADJOINT -o SLSQP -f turb_SA_RAE2822.cfg > log.solver & I understand that I need to make changes to shape_optimization.py to make it compatible with qsub but I am not sure how to do so. Any help is highly appreciated. Thank you |
|
September 14, 2020, 05:48 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21 |
what does 'failing' mean? Can you share the output from the log files?
Does a primal computation using mpirun work? |
|
September 17, 2020, 05:26 |
Executing shape_optimization.py using qsub
|
#3 |
New Member
Ranjan
Join Date: Apr 2014
Posts: 29
Rep Power: 12 |
Hello
Thank you for your reply. So it seems like my there was an error in my .pbs file which would result in an exception after submission. I am able to run direct flow simulations using qsub using mpiexec SU2_CFD <case.cfg>. However, I am not sure how to use the python wrapper for shape optimization problems. To be exact, I am not sure how to execute shape_optiization.py -n -$j ... in the .pbs file when the number of cores are specified earlier in the file. My qsub file is attached herewith. Any help will be greatly appreciated! Thank you in advance. |
|
Tags |
su2 ad openmpi gcc, su2 installation error, su2 parallel, su2 qsub |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel execution of SU2 | marco.fossati | SU2 | 15 | June 13, 2024 17:39 |
Introducing SU2 International Developers Society (IDS) | fpalacios | SU2 News & Announcements | 1 | June 17, 2019 23:38 |
Official release of SU2 V3.0 and SU2 Educational V1.0 | fpalacios | SU2 News & Announcements | 2 | January 22, 2014 06:28 |
SU2 2.0.6 test case execution errors | austin.m | SU2 Installation | 4 | October 4, 2013 10:30 |
Welcome to the Stanford University Unstructured (SU2) forum! | economon | SU2 | 0 | January 7, 2013 03:48 |