CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Fluent modulefile question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2022, 01:55
Default Fluent modulefile question
  #1
New Member
 
Beichao Hu
Join Date: Nov 2017
Posts: 9
Rep Power: 9
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.

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

Reply

Tags
hpc cluster, module load


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 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


All times are GMT -4. The time now is 12:21.