CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Fluent modulefile question

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2022, 00:55
Default Fluent modulefile question
New Member
Beichao Hu
Join Date: Nov 2017
Posts: 9
Rep Power: 6
sakura006 is on a distinguished road
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.



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

#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"
sakura006 is offline   Reply With Quote


hpc cluster, module load

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about airfoil 2D simulation using Fluent Abdelrahman Yousry FLUENT 0 November 26, 2016 07:38
Question about gambit model export to fluent ahmadn2002 FLUENT 0 September 1, 2016 10:29
Question: BC openFOAM vs. FLUENT oehmu OpenFOAM 2 December 14, 2010 16:14
General question regarding Fluent 6.3s mesh motion AndyRoth FLUENT 0 December 8, 2006 12:01
Question about 2D solvor in Fluent Ning Zhuang FLUENT 1 May 18, 2000 09:54

All times are GMT -4. The time now is 19:40.