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

Ansys fluent parallel run Linux error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2019, 08:50
Default Ansys fluent parallel run Linux error
  #1
Member
 
Bineet Mehra
Join Date: Aug 2013
Posts: 61
Rep Power: 12
bineet_aero is on a distinguished road
Hello,

I am trying to submit a fluent run on a cluster using the following bash script

# ---------------------------------------------------------
#
export EOS=titan03
export CALCUL=test
export NPROC=16
export PPN=8
export VERSION=192
export TYP=3ddp
#usage DEPART=aaaa-mm-jjThh:mm:ss
#export DEPART=2018-06-05T15:41:00
#export DUREE=48:00:00
export CASE=FFF.1-2.cas.gz
export DATA=FFF.1-2-00090.dat.gz
export JOURNAL=jrnl.jou
################################################## #########
runFluentAcademic.sh -sw_name $CALCUL -sw_input $CASE -sw_input $JOURNAL -version $VERSION -sw_ppn $PPN -t $NPROC $TYP -g -i $JOURNAL
################################################## #########


where
NPROC = number of cores
PPN = number of nodes.

The error i am getting is

PPN 8
-1")syntax error: invalid arithmetic operator (error token is "
: integer expression expectedemic.sh: line 125: [: 16
--ntasks-per-node=8
AL_JOB_APP,AL_JOB_XFER
" for ntasks-per-node. numeric value "8


Is it a problem in the runFluentAcademic.sh file (containing the licence information) or just a syntax error ?

Please suggest

thanks
bineet_aero is offline   Reply With Quote

Old   November 22, 2019, 06:47
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Is this really the full error message?

Can you share the content of runFluentAcademic.sh? This is likely a custom script.

You might start by quoting the variable values properly, to see whether there is some issue with string formating. Such as:
runFluentAcademic.sh -sw_name "$CALCUL" -sw_input "$CASE"

Btw, for what reason do you need to export the variables? Are they used somewhere downstream in runFluentAcademic.sh?
bluebase is offline   Reply With Quote

Reply

Tags
ansys, fluent - parallel, linux, scripting


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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 09:40
Parallel Error in ANSYS FLUENT 12 zeusxx FLUENT 25 July 17, 2015 04:40
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42


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