-
Dear All, I am trying to compile the latest FDS (6.9.1) available on GitHub on the HPC in my university. However, I encountered some problems and the compilation could not proceed. I have some experience to compile FDS on HPC and tried several commands but it does not work for my current compilation. Could you give me some suggestions that I can further try? I list the major steps I’ve tried here. Thank you very much in advance for your suggestions.Step 1: Step 2: Step 3-1: impi version (impi/2021.10.0-intel-compilers-2023.2.1) ../Scripts/build_thirdparty_libs.sh: line 2: $'\r': command not found Step 3-2: another impi version ( impi/2021.4.0-intel-compilers-2021.4.0) STEP 3-3: oneAPI setupsource /opt/intel/oneapi/setvars.sh >& /dev/null and also at the last lines or the .bashrc file. Nonetheless, the error message in STEP 3-1 remains.I am struggling with how to proceed with the FDS compilation. Could you give me some suggestions so that I can further try? Thank you very much in advance. Mingcian |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
Hi, have you cloned the fds repo directly into your HPC cluster or copying it from somewhere else? |
Beta Was this translation helpful? Give feedback.
-
Clone the repo for fds wherever you are going to compile it, load oneapi and try the Build/impi_intel_linux/make_fds.sh script. I use ‘dos2unix make_fds.sh’ to convert file make_fds.sh to Unix format. |
Beta Was this translation helpful? Give feedback.
-
Lets try this, I am not sure if your fork is up-to-date with firemodels/fds.
cd firemodels/fds
cd firemodels/fds/build/impi_intel_linux
cd firemodels/fds |
Beta Was this translation helpful? Give feedback.
-
Looking again to your log, it seems like the intel compiler setup in your cluster doesn't allow mpiifx -fc=ifort. Can you try following options in order:
If above is unsuccessful, try following:
|
Beta Was this translation helpful? Give feedback.
-
Go to your fds repository and do a |
Beta Was this translation helpful? Give feedback.
-
I would go to your repo and get it back up to date.
Then exit and relogin and compile the |
Beta Was this translation helpful? Give feedback.
-
@rmcdermo , @marcosvanella , @cxp484 : Thanks a lot for your help! Now I can compile and run simulation with the new executable. Here is how I did: Thanks again for your help and suggestions. :) |
Beta Was this translation helpful? Give feedback.
@rmcdermo , @marcosvanella , @cxp484 :
Thanks a lot for your help! Now I can compile and run simulation with the new executable.
Here is how I did:
I load the modules for OpenMPI and GNU ('gompi/2023b' in our HPC).
I go to 'opmi_gnu_linux' and compile (./make_fds.sh). This time 'dos2unix make_fds.sh' is no longer needed and the compilation starts.
Thanks again for your help and suggestions. :)