-
-
May 1, 2024 at 5:32 pmS.Shrestha-4Subscriber
Hi! I am new to HPC, and I am trying to run a multiphase simulation in ansys fluent 2021 r2. I get the following error:Â
Error at host: Unable to open C:/Users/Desktop/HPC_Sim/fluent-1.cas.h5 for writing.
===============Message from the Cortex Process================================
Compute processes interrupted. Processing can be resumed.
==============================================================================
Error: Unable to open C:/Users/Desktop/HPC_Sim/fluent-1.cas.h5 for writing.
Error Object: #fWarning: An error or interrupt occurred while reading the journal file.
Some commands may not have been completed.Halting due to end of file on input.
Here is the script and slurm file I used. Can someone help me figure out the error? -
May 1, 2024 at 5:42 pmS.Shrestha-4Subscriber
#!/bin/bash -l
# use bash as shell
# the -l option is necessary to make the local enviroment equal to the login environment
# slurm commands start with #SBATCH
# all other stuff behind a # on the same line is commentÂ
Â
#SBATCH -D ./ Â Â Â Â Â Â Â Â Â Â Â # directory where the mpiexec command is ran
#SBATCH -J HPC_Sim_01 Â Â Â Â Â Â Â Â Â # name of the job (can be changed to whichever name you like)
#SBATCH --get-user-env       # to set environment variables
#SBATCH -o output.log        # output file
#SBATCH -e output.log        # error file
#SBATCH --mem-per-cpu=2GB Â Â Â Â Â Â Â Â Â # memory per node in megabytes
#SBATCH --time=0-20:00:00 Â Â Â Â Â # simulation time in d-hh:mm:ss
#SBATCH --nodes=1 Â Â Â Â Â Â Â Â Â Â Â # number of nodes
#SBATCH --ntasks-per-node=32 Â Â Â Â Â Â # number of MPI processes on the node (^= cores to be used)
#SBATCH --account=--Â Â # replace with your education/research/project account if applicable
Â
# get the jobid for later reference
myjobid=$SLURM_JOB_ID
echo "myjobid = " $myjobid
Â
# load modules
module load ansys/2021R2
Â
if [ "$SLURM_PROCID" == "0" ]; then
# set up  hostfile containing the list of nodes/cores used
    scontrol show hostname $SLURM_JOB_NODELIST >  hostfile.txt
    fluent  2ddp -t$SLURM_NTASKS -rsh  -g  -i microchannel.script -cnf=hostfile.txt -pib.ofed
fi
exit 0
-
- You must be logged in to reply to this topic.
- How do you approach this?
- Convective Augmentation Factor in DEFINE_HEAT_FLUX
- Conservation issue with a UDS solution
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- Non-Premixed Combustion PDF generation with 4th-order interpolation
- ANSYS fluent – Rocky DEM coupling
- Solar load , Mesh Orientation and Beam direction
-
461
-
215
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.