|
[Sponsors] |
[waves2Foam] compilling wave2Foam in OpenFOAM 4.1 and ubuntu 16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2018, 01:11 |
compilling wave2Foam in OpenFOAM 4.1 and ubuntu 16.04
|
#1 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Dear Segun
I was installing Wave2Foam but failed to excute Allwmake in wave2Foam folder at the last step. it reporting the following msg: ben@ben:~/waves2Foam$ ./Allwmake ===================================== ENVIRONMENTAL VARIABLES ===================================== EXTBRANCH=0 FOAMEXTENDPROJECT=0 OFPLUSBRANCH=0 WAVES_APPBIN=/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin WAVES_DIR=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam WAVES_GSL_INCLUDE=/usr/include WAVES_GSL_LIB=/usr/lib64 WAVES_LIBBIN=/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib WAVES_POST=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities/postProcessing WAVES_PRE=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities/preProcessing WAVES_SOL=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/solvers/solvers410 WAVES_SRC=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/src WAVES_TUT=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/tutorials WAVES_UTIL=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities WAVES_XVERSION=0 WM_PROJECT_VERSION_NUMBER=410 FATAL ERROR. The directory path /home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam does not exist. Correct the path in bin/bashrc This means that you should correct the environmental variable $WAVES_DIR such that it is pointed (in absolute sense) to the path, where waves2Foam is located. Please note that once bin/bashrc is created, bin/bashrc.org is only an inactive file. The latter is also the only of the two files, which is updated through the SVN-repository. EXITING Would appreciate your support. Thx! |
|
March 22, 2018, 01:56 |
|
#2 | |
New Member
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 8 |
Quote:
I am not sure if you miss the step of making directories: $mkdir -p OpenFOAM/ben-4.1/applications/utilities If not, please check the name of directories. I misspelled the "applications" as "application" when I install w2f. Good luck ! best regards, Kun |
||
March 22, 2018, 03:29 |
|
#3 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Missing that step where? during the installation of OpenFoam4.1 or?
Please help! |
|
March 22, 2018, 13:52 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Ben,
Please try to carefully read the error message. This should help you and this problem has been treated multiple times above. Anyway, in the waves2Foam folder there is a folder called bin. Here, there is a file bashrc, where the installation location must be specified. Note that there are no solvers generated for OpenFoam 4.1., so you must generate them yourself. For that, there are clear instructions in the manual. Furthermore, I do not know, whether waves2Foam compiles on version 4.1. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 26, 2018, 07:08 |
compilling wave2Foam in OpenFOAM 4.1 and ubuntu 16.04
|
#5 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Hello,
I am compilling wave2Foam in OpenFoam4.1/ubuntu 16.04 and i am getting the following feedback: .................................................. ......................................... ben@ben:~/waves2Foam$ ./Allwmake ===================================== ENVIRONMENTAL VARIABLES ===================================== EXTBRANCH=0 FOAMEXTENDPROJECT=0 OFPLUSBRANCH=0 WAVES_APPBIN=/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin WAVES_DIR=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam WAVES_GSL_INCLUDE=/usr/include WAVES_GSL_LIB=/usr/lib64 WAVES_LIBBIN=/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib WAVES_POST=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities/postProcessing WAVES_PRE=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities/preProcessing WAVES_SOL=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/solvers/solvers410 WAVES_SRC=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/src WAVES_TUT=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/tutorials WAVES_UTIL=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities WAVES_XVERSION=0 WM_PROJECT_VERSION_NUMBER=410 ===================================== COMPILE LAPACK-3.3.1 ===================================== lapack-3.3.1 has already been compiled ===================================== COMPILE SPARSKIT2 ===================================== SPARSKIT2 has already been compiled ===================================== COMPILE OCEANWAVE3D ===================================== Pull changes from the OceanWave3D git repository ... *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'ben@ben.(none)') Cannot save the current index state No stash found. OceanWave3D has already been compiled /home/ben/waves2Foam/ThirdParty ===================================== COMPILE FENTON4FOAM ===================================== fenton4Foam has already been compiled ===================================== COMPILE LIBRARY ===================================== '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib/libwaves2Foam.so' is up to date. '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamProcessing.so' is up to date. '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamPorosity.so' is up to date. ===================================== COMPILE SOLVERS ===================================== ls: cannot access '/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/solvers/solvers410/*': No such file or directory ===================================== COMPILE PRE-PROCESSING ===================================== make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/relaxationZoneLayout' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/waveGaugesNProbes' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/setWaveField' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/setWaveParameters' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/sampleIncidentWaveField' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/faceSetToSTL' is up to date. ===================================== COMPILE POST-PROCESSING ===================================== make: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam' is up to date. ===================================== COMPILE BREEDER ===================================== Nothing available for compilation in the breeder directory. ===================================== COMPILATION DONE ===================================== Could you help to know what to do get wave2Foam compiled. I would appreciate ! |
|
March 26, 2018, 11:57 |
|
#6 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Ben,
See my reply above: there are no solvers available for OF4.1. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 26, 2018, 16:56 |
|
#7 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8 |
Then, through which way should I compile it?
may you direct me? My supervisor said it works for him. I have been trying and you see what it is giving: -------------------------------------------------------- ===================================== ENVIRONMENTAL VARIABLES ===================================== EXTBRANCH=0 FOAMEXTENDPROJECT=0 OFPLUSBRANCH=0 WAVES_APPBIN=/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin WAVES_DIR=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam WAVES_GSL_INCLUDE=/usr/include WAVES_GSL_LIB=/usr/lib64 WAVES_LIBBIN=/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib WAVES_POST=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities/postProcessing WAVES_PRE=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities/preProcessing WAVES_SOL=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/solvers/solvers410 WAVES_SRC=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/src WAVES_TUT=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/tutorials WAVES_UTIL=/home/ben/OpenFOAM/ben-4.1/applications/utilities/waves2Foam/applications/utilities WAVES_XVERSION=0 WM_PROJECT_VERSION_NUMBER=410 ===================================== COMPILE LAPACK-3.3.1 ===================================== lapack-3.3.1 has already been compiled ===================================== COMPILE SPARSKIT2 ===================================== SPARSKIT2 has already been compiled ===================================== COMPILE OCEANWAVE3D ===================================== Pull changes from the OceanWave3D git repository ... *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'ben@ben.(none)') Cannot save the current index state No stash found. OceanWave3D has already been compiled /home/ben/waves2Foam/ThirdParty ===================================== COMPILE FENTON4FOAM ===================================== fenton4Foam has already been compiled ===================================== COMPILE LIBRARY ===================================== '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib/libwaves2Foam.so' is up to date. '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamProcessing.so' is up to date. '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/lib/libwaves2FoamPorosity.so' is up to date. ===================================== COMPILE SOLVERS ===================================== make: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/waveFoam' is up to date. ===================================== COMPILE PRE-PROCESSING ===================================== make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/setWaveParameters' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/faceSetToSTL' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/waveGaugesNProbes' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/relaxationZoneLayout' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/setWaveField' is up to date. make[1]: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/sampleIncidentWaveField' is up to date. ===================================== COMPILE POST-PROCESSING ===================================== make: '/home/ben/OpenFOAM/ben-4.1/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam' is up to date. ===================================== COMPILE BREEDER ===================================== Nothing available for compilation in the breeder directory. ===================================== COMPILATION DONE |
|
March 27, 2018, 01:47 |
|
#8 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Ben,
You are not nearly giving enough information for us to provide help. I have no idea, what you think is wrong. Check this thread and follow the instructions: How to give enough info to get help Everything seems fine with the compilation and I recommend that you try some tutorials or ask you supervisor. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04 | titanium | OpenFOAM Installation | 14 | February 20, 2020 11:46 |
[waves2Foam] Difficulties installing with OpenFOAM 4.1 on Ubuntu 16.04 | Ben UWIHANGANYE | OpenFOAM Community Contributions | 4 | May 4, 2018 05:14 |
[OpenFOAM.org] Using OpenFOAM 2.3.0 from Deb pack in Ubuntu 14.04 + ParaView 5 from OpenFOAM 4.1 | ad2eb | OpenFOAM Installation | 12 | May 28, 2017 14:30 |
[OpenFOAM.org] Openfoam 4.1 conflicts with Cuda 7.5 on ubuntu 16.04 | Hillie | OpenFOAM Installation | 2 | April 3, 2017 21:59 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |