Replies: 6 comments 23 replies
-
We have not tried building PeleC with Cygwin on Windows so I'm not sure what problems you might encounter. However, it looks like it's failing on the You can try removing the |
Beta Was this translation helpful? Give feedback.
-
You may also have better luck installing through Windows Subsystem for Linux rather than Cygwin, as WSL lets you work in a true linux environment. Although I haven't tried that route so I'm not sure if there would be any pitfalls. |
Beta Was this translation helpful? Give feedback.
-
Adding to Bruce's reply above, you'll need to set the OMP_NUM_THREADS environment variable before running the OMP-enabled executable, or it will default to using just one thread. Also, note that AMReX has a strategy for using OMP threads that is based on logically splitting grid boxes into virtual patches to work on simultaneously across threads, so be sure that the cases you run have large enough boxes that this splitting results in enough work for the cores to do. Read up on the documentation to be sure you are getting the most out of this option. |
Beta Was this translation helpful? Give feedback.
-
The executable you ran does not have OMP as part of its name and is therefore not the one you built with USE_OMP=TRUE. Do you have more than 1 executable in that folder and did you accidentally call the wrong one? :) |
Beta Was this translation helpful? Give feedback.
-
Regarding detonations: have you tried to contact the folks mentioned on that AMReX gallery page? "installing" PeleC on any unix machine involves downloading/cloning from GitHub and locally building the executable. Any case that you want to run where you need OMP, you'd build with USE_OMP=TRUE, you'd set the NUM_OMP_THREADS environment variable and make sure you use the executable with OMP in its name. Cloning and building are described on the PeleC README, and lots of information about builds is included in the online documentation at https://amrex-combustion.github.io/PeleC/ Let me know if you run into difficulties. |
Beta Was this translation helpful? Give feedback.
-
@drummerdoc, sorry for the late response. Regarding the PeleC installation on the cluster, I am facing some issues. This GNU version is below the requirement for PeleC installation. There are multiple codes running on our cluster, and my colleagues suggested not to install/update anything on the cluster. Instead, they recommended trying to bring a pre-compiled solver. So, my question is, how can I bring the pre-compiled PeleC solver to the cluster? Thanks |
Beta Was this translation helpful? Give feedback.
-
Dear PeleC Community,
I am new to using PeleC and am currently trying to complete the initial setup on a Windows 10 Pro system. I have installed all necessary components using Cygwin and GCC, and I have also set the required environment variables. However, I am encountering an error when compiling:
sethostname: Use the Network Control Panel Applet to set hostname. hostname -s is not supported.
Any guidance on resolving this issue would be greatly appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions