|
[Sponsors] |
July 7, 2015, 03:58 |
Compile c99 standard UDF in Cluster
|
#1 |
New Member
Join Date: May 2014
Posts: 13
Rep Power: 12 |
Hi All,
How do I compile an UDF written in c99 standard to run on the cluster? Blow are my .sh and command files. Run.sh #!/bin/bash #SBATCH --time=3-00:00:00 #SBATCH --mem=129000 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=64 #SBATCH --mail-user=xxxx@xxxx.edu.au #SBATCH --mail-type=ALL #SBATCH --partition=short64 cd $SLURM_SUBMIT_DIR module load fluent/15.0 fluent 2d -g -t64 -ssh <commands.txt >output.txt Command.txt /file/rc "2D_Transient_Trail_3.cas.gz" /define/user-defined/compiled-functions unload libudf /define/user-defined/compiled-functions compile "libudf" yes "Forces_Latest.c" "" "" /file/rd "2D_Transient_Trail_3.dat.gz" ;/solve/initialize/initialize-flow /solve/iterate 100000000 ;/solve/dual-time-iterate 1200000 25 /file/wcd "2D_Transient_Trail_3.dat" /exit |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF on cluster | why? | Fluent UDF and Scheme Programming | 14 | February 12, 2020 13:48 |
compile UDF in journal file | ivanbuz | FLUENT | 6 | February 10, 2020 12:21 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
[B]the compiler keep on compile previous udf without updating new udf?[/B] | fruitkiwi | Fluent UDF and Scheme Programming | 5 | July 24, 2014 20:38 |
Help: how to realize UDF on parallel cluster? | Haoyin | FLUENT | 1 | August 6, 2007 14:53 |