Tagged: hpc, udf-fluent
-
-
March 9, 2021 at 8:43 am
ashch
SubscriberHi,
I am trying to execute a UDF (Define_Spcific_Heat) that runs nicely on my own machine. However, I am facing issues when trying to execute the same via a batch job on the HPC. The sequence of my workflow is as follows, please let me know if it needs any correction
- I have complied the UDF on my machine (Cp inputted as a user-defined function) and then exporting the cas file to be run on the HPC.
- The directory of the HPC contains both the cas file and the libudf folder
- The journal file has the following commands
- /define/user-defined/compiled-functions compile libudf yes 'Specific_Heat.c' ""
- /define/user-defined/compiled-funcitons load libudf
- Finally the error I get is as follows:
for d in lnamd64/[23]*; do ( cd $d; if [ -f udf_names.c ]; then mv -f udf_names.c udf_names.cRenamed; fi; rm -rf *.{c,h,cpp,hpp}; if [ -f udf_names.cRenamed ]; then mv -f udf_names.cRenamed udf_names.c; fi; for f in ../../src/*.{c,h,cpp,hpp} ../../src/makefile ../../src/user.udf; do if [ -f $f -a ! -f `basename $f` ]; then echo "# linking to" $f "in" $d; ln -s $f .; fi; done; echo ""; echo "# building library in" $d; if [ "" = "1" ]; then echo "# using gcc64"; make ARCHC=gcc64 -k>makelog 2>&1; else if [ "" = "1" ]; then echo "# using gcc"; make ARCHC=gcc -k>makelog 2>&1; else make -k>makelog 2>&1; fi; fi; cat makelog; ) done # linking to ../../src/Specific_Heat.c in lnamd64/3ddp_host # building library in lnamd64/3ddp_host make[1]: Entering directory `/zhome/d7/e/113826/Ashish/Corner_Air_Gap_200_290/libudf/lnamd64/3ddp_host' make[1]: *** No rule to make target `compiled-funcitons', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `read-case', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `FLTG.2-Setup-Output.cas.gz', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `libudf', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `load', needed by `'Specific_Heat.c''. make[1]: Target `default' not remade because of errors. make[1]: Leaving directory `/zhome/d7/e/113826/Ashish/Corner_Air_Gap_200_290/libudf/lnamd64/3ddp_host' # linking to ../../src/Specific_Heat.c in lnamd64/3ddp_node # building library in lnamd64/3ddp_node make[1]: Entering directory `/zhome/d7/e/113826/Ashish/Corner_Air_Gap_200_290/libudf/lnamd64/3ddp_node' make[1]: *** No rule to make target `compiled-funcitons', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `read-case', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `FLTG.2-Setup-Output.cas.gz', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `libudf', needed by `'Specific_Heat.c''. make[1]: *** No rule to make target `load', needed by `'Specific_Heat.c''. make[1]: Target `default' not remade because of errors. make[1]: Leaving directory `/zhome/d7/e/113826/Ashish/Corner_Air_Gap_200_290/libudf/lnamd64/3ddp_node'
March 9, 2021 at 6:25 pmSurya Deb
Ansys EmployeeHello, nPlease check the command in point #5. You have a typo there in the word functions /define/user-defined/compiled-funcitonsload libudf . You have used a wrong spelling. Please correct this and recheck.nHope this helps.nRegards,nSDMarch 10, 2021 at 7:45 amashch
SubscribernThanks fo your comments,nUnfortunately, I'm having the same problem and errors as before.Thanks,nAshishnnMarch 11, 2021 at 4:47 pmSurya Deb
Ansys EmployeeHello, nDid you try setting environment variables properly? You might want to check the link below.nexport FLUENT_ARCH = lnamd64 can be also tested before you launch Fluent.nRegards,nSDnViewing 3 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- unable to open files in ansys
- How to move duplicated ansys project position in workbench GUI
- Download MATLAB toolbox AnsysAAS
- An unknown error with memory occurred during solution.
- Desginpoints in Ansys 18.2 workbench got stuck at the stage of updating model in static structural
- Error: Unable to open some designs in this project – Corrupted project files
- Ansys solving system coupling problems on a remote cluster does not provide constant results.
- ANSYS Multi field 2-way FSI data coupling issue
- Material constant Damping calculation
- Different initial temperature conditions for two different object in transient-thermal
Top Contributors-
2508
-
2064
-
1277
-
1088
-
456
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-