swak4Foam installaton issue on cluster
I am trying to install swak4foam on my university cluster
which already has OpenFoam installed. I set up m4 and bison in my home directory and then run ./Allwmake but I get errors. Any advice on how to fix this? Some excerpts from the log file Code:
No file 'swakConfiguration'. Python etc won't work. See README for details Code:
/usr/local/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so: undefined reference to `MPI_Isend' https://openfoamwiki.net/index.php/I...e_load_is_used How do I go about (try using -rpath or -rpath-link)? |
Hi canopus
Have you figured it out? I am also trying to install swak4foam in my university's cluster, I will let you know if I success. Cheers, Kan |
Unfortunately not so far. Trying to get hold of sys admin and running things on desktop for time being!
|
Greetings to all!
Regarding the time issue: Code:
make: Warning: File `linux64GccDPOpt/options' has modification time 87 s in the future Code:
find ./ | xargs touch As for the other problem with the missing "libmpi.so.1", I need specific details on what are the exact steps you need to do in order to load the OpenFOAM shell environment in your system. Namely, what "module load" commands you need to do? Best regards, Bruno |
Hi Bruno,
Could you please have a look at my bug while installing swak4foam at HPC cluster. Here is the top of log file while installation: Code:
This is a clean install Code:
In file included from helpers/printSwakVersion.C(44): Code:
module load intel-cc/14.0.080 with this, I can compile my own solver, it is OK, but got the error while compiling swak4foam Thank you very much Kan |
Hi Kan,
Something very wrong is going on with your OpenFOAM installation. swak4Foam's scripts were not able to identify which OpenFOAM version you have installed, which is why you're getting those errors. After loading all of the necessary modules, please run the following commands and indicate what each one gives you: Code:
echo $WM_PROJECT_DIR Bruno |
Quote:
Please find the attached results from running your suggested command, Code:
[kxq564@raijin5 ~]$ echo $WM_PROJECT_DIR UPDATE: Since this is the version definition problem as indicated from bug report, so I directly set the version in my .bashrc file: Code:
export WM_PROJECT_VERSION=2.2.1 Then I recompiled swak4foam, it's now working. But not sure if it's necessary to define $FOAM_APP plus $FOAM_SRC Cheers, Kan |
Dear Bruno
Thanks for your inputs. I think that time stamp issues are just warning and do not create any actual error. I did "touch" and the warnings are gone but still I get same error in compilation. I do not use any module but just include the the path source /opt/openfoam231/etc/bashrc in my bashrc file. |
The error was because of not finding the path to mpi libraries as indicated by warning
/usr/bin/ld: warning: libmpi.so.1, needed by /usr/local/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so, not found (try using -rpath or -rpath-link) I fixed it and now I have swak4foam! |
swak4foam could not be installed on the cluster
Hi guys,
Due to the fact that swak4foam could not be installed on the cluster (most of the libraries were compiled but funkySetFields cannot be found and also the groovyBC did not work well), as shown in the following: Code:
/cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++:5: /cineca/prod/opt/applications/openfoam+/v1912/intelmpi--2018--binary/OpenFOAM-v1912+/wmake/rules/linux64Gcc/c++OptBDW: No such file or directory Code:
libEulerianInterfacialSedModels.so |
All times are GMT -4. The time now is 06:15. |