|
[Sponsors] |
[foam-extend.org] foam-extend-4.0 openSUSE Leap 42.1 Installation Problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2017, 07:27 |
foam-extend-4.0 openSUSE Leap 42.1 Installation Problem
|
#1 |
New Member
Join Date: Feb 2017
Posts: 4
Rep Power: 9 |
Dear Users,
I set up my computer with openSUSE 42.1 and followed the instructions at https://openfoamwiki.net/index.php/I...oam-extend-4.0 and https://openfoamwiki.net/index.php/I...d-4.0/openSUSE to install foam-extend-4.0. During first installation I receive error messages concering the applications directory, for example: Code:
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lfoam collect2: error: ld returned 1 exit status /home/peter/foam/foam-extend-4.0/wmake/Makefile:159: recipe for target '/home/peter/foam/foam-extend-4.0/applications/bin/linux64GccDPOpt/surfaceMeshImport' failed make[2]: *** [/home/peter/foam/foam-extend-4.0/applications/bin/linux64GccDPOpt/surfaceMeshImport] Error 1 /home/peter/foam/foam-extend-4.0/wmake/MakefileApps:39: recipe for target 'surfaceMeshImport' failed make[1]: *** [surfaceMeshImport] Error 2 Code:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: rfhmab665 OS: Linux version 4.1.12-1-default ------------------------------------------------------------------------------- Checking main foam-extend env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/peter/foam yes yes $WM_PROJECT_USER_DIR /home/peter/foam/peter-4.0 yes no $WM_THIRD_PARTY_DIR ...eter/foam/foam-extend-4.0/ThirdParty yes yes ------------------------------------------------------------------------------- Checking the foam-extend env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/peter/foam/foam-extend-4.0 yes yes yes $FOAM_APPBIN ...4.0/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...er/foam/site/4.0/bin/linux64GccDPOpt yes yes no $FOAM_USER_APPBIN ...4.0/applications/bin/linux64GccDPOpt no no $WM_DIR /home/peter/foam/foam-extend-4.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the foam-extend env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN .../foam-extend-4.0/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...er/foam/site/4.0/lib/linux64GccDPOpt yes yes no $FOAM_USER_LIBBIN ...r/foam/peter-4.0/lib/linux64GccDPOpt no no $MPI_ARCH_PATH /usr yes no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of foam-extend Supplied version: 4.3.3 User version : 4.8.5 Minimum required: 4.3.1 gcc 4.8.5 WARNING: Conflicting installations: foam-extend settings : /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.6 /usr/bin/gzip tar 1.27.1 /bin/tar icoFoam WARNING: Conflicting installations: foam-extend settings : /home/peter/foam/foam-extend-4.0/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. Anyone has a hint how to solve the problem? Kind regards, icab |
|
March 25, 2017, 15:16 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings icab and welcome to the forum!
Please run the following commands: Code:
fe40 foam ./Allwmake > log.make 2>&1 gzip < log.make > log.make.gz Best regards, Bruno
__________________
|
|
March 30, 2017, 11:16 |
|
#3 |
New Member
Hao Zeng
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
Dear Bruno,
I also faced the same problem for installing foam-extend-4.0 with openSUSE system. I attached my wmake file here. Thank you in advance. Best regards, Noémie |
|
April 1, 2017, 10:58 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Noémie
Quote:
It's now clear that the problem was that Open-MPI was not found. I have updated the wiki pages recently for all foam-extend versions, regarding openSUSE, where the one for foam-extend 4.0 is this one: https://openfoamwiki.net/index.php/I...#openSUSE_42.1 The update is regarding the need to use the following command before sourcing foam-extend's shell environment: Code:
source /etc/profile.d/mpi-selector.sh Code:
source /etc/profile.d/mpi-selector.sh fe40 Code:
foam ./Allwmake > log.make 2>&1 gzip < log.make > log.make.gz Bruno |
||
April 4, 2017, 10:46 |
|
#5 | |
New Member
Hao Zeng
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
Dear Bruno,
Thank you very much. I redo everything from the very beginning and there is no more this error. After running foamIstallationTest, I got the following message: Quote:
Thank you again. Cheers, Noémie |
||
April 8, 2017, 08:09 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Noémie,
You can ignore that error message. That script has not been updated/fixed in foam-extend, which is why it's giving that error. Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox | manuc | OpenFOAM Running, Solving & CFD | 1 | April 12, 2022 12:36 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |