|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Beichao Hu
Join Date: Nov 2017
Posts: 9
Rep Power: 10 ![]() |
Hello, I recently got a new HPC in our lab. The HPC is installed with environment module and Slurm. I need to create a module file for Fluent so that Fluent can be loaded in the Slurm script. I read through the official document, and below is the module file and Slurm script I create. After I submit the job, the module is loaded but it never runs. The error message is "fluent: command not found". I am scratching my head to figure out what goes wrong. Any help is appreciated.
modulefile Code:
#%Module
proc ModulesHelp { } {
puts stderr "This module adds Fluent2022R1 to your path"
}
module-whatis "Fluent2022R1\n"
set rootdir /ansys_inc/v221/fluent
prepend-path PATH $rootdir/bin
prepend-path LD_LIBRARY_PATH $rootdir/lib
Slurm script Code:
#!/bin/bash #SBATCH -N 2 #SBATCH --tasks-per-node=12 #SBATCH --exclusive #SBATCH -o fluentP_%J.out #SBATCH -e fluentP_%J.err module purge module load openmpi/4.1.1_gnu module load ANSYS_Fluent/fluent2022R1 module list fluent -r22.1.0 3ddp -gu -t24 -i "test.jou" $OptFile -cnf="$nodefile" |
|
|
|
|
|
![]() |
| Tags |
| hpc cluster, module load |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about airfoil 2D simulation using Fluent | Abdelrahman Yousry | FLUENT | 0 | November 26, 2016 08:38 |
| Question about gambit model export to fluent | ahmadn2002 | FLUENT | 0 | September 1, 2016 11:29 |
| Question: BC openFOAM vs. FLUENT | oehmu | OpenFOAM | 2 | December 14, 2010 17:14 |
| General question regarding Fluent 6.3s mesh motion | AndyRoth | FLUENT | 0 | December 8, 2006 13:01 |
| Question about 2D solvor in Fluent | Ning Zhuang | FLUENT | 1 | May 18, 2000 10:54 |