I'm doing an installation of OF2.2.2 using the Source Pack, downloaded from here.
|
Quote:
|
Problems with 2.2.x latest built
Dear all,
now it hit me trying to get a running copy of the last OpenFOAM 2.2.x built from Code:
mpmp:OpenFOAM-2.2.x mplagge$ git show I noticed quickly that openmpicc was not used by allwmake for building Scotch. So I had a look at the patches and not being an expert I applied also the newMacPortsMPIThirdParty.patch. The second run openmpicc was used. However, as soon as finishing ThirdParty tools there is a strange gcc error occuring that I never had before: Code:
... https://box.cern.ch/public.php?servi...a28f082c2c0148 I would really appreciate any help. Thanks in advance. Cheers, Michael Quote:
SOLVED: Bloody damn stupid beginner mistake: disk image was not case sensitive. Layer 8, right in front of the machine. -.- |
Quote:
|
Dear Bernhard,
one day I'll show you our archive of keyboards and desk tops, the ones with the bite marks... However, could you please let me know what should be the setting for WM_MPLIB with your patches? I added the full patch and newMacPortsMPIThirdParty with 2.2.x and I get: Code:
mpmp:motorBike mplagge$ openmpirun -np 6 snappyHexMesh -parallel -overwrite Cheers, Michael Quote:
|
Quote:
http://fatpenguinblog.com/wp-content...tyKeyboard.jpg (No. The patch does not hack your webcam. I was only guessing ;) ) Quote:
Quote:
Are you using an outdated MacPorts (do a "port selfupdate; port upgrade outdated") or a self-compiled OpenMPI (honorable but I can't help you there. I avoid compiling stuff)? |
Dear Bernhard,
thanks for your comments. I did a complete selfupdate and upgrade of the outdated stuff, a lot of things have been relinked. The following run of Allwmake was successful. However, I dont see any mpicc use anymore in the log file as before. And I agree with you on the compilation stuff. That is why I avoid regularly to get the newest port and git version: it creates more trouble than it helps usually. In the end I did a Code:
ln -s /opt/local/bin/mpiexec-openmpi-gcc46 $WM_PROJECT_DIR/bin/mpirun Cheers, Michael Quote:
|
Quote:
|
Quote:
Code:
Available versions for gcc: Code:
Available versions for mpi: |
makefile for scotch
Hi all,
I'm trying to install open foam on my macbook. I followed all the appropriate instructions in wiki page. once i did the './Allwmake 2>&1 | tee logName.log', I found some errors and the first error says 'Error: Scotch needs an appropriate makeFile.inc'. I don't understand whats wrongs and what i have to do next. Any help is much appreciated. Thanks |
Quote:
|
Quote:
************************************************* Build Scotch decomposition library scotch_6.0.0 /Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46/scotch_6.0.0 + cd scotch_6.0.0/src + prefixDIR=/Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46/scotch_6.0.0 + libDIR=/Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46DPOpt/lib + mkdir -p /Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46/scotch_6.0.0 + mkdir -p /Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46DPOpt/lib + configOpt='prefix=/Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46/scotch_6.0.0 libdir=/Users/mharibabu/OpenFOAM/ThirdParty-2.2.2/platforms/darwinIntel64Gcc46DPOpt/lib' + '[' -f ../../etc/wmakeFiles/scotch/Makefile.inc.i686_mac_darwin.shlib-OpenFOAM ']' + '[' -f Makefile.inc ']' + echo ' Error: scotch needs an appropriate Makefile.inc' Error: scotch needs an appropriate Makefile.inc + exit 1 WARNING: required include file 'scotch.h' not found! ************************************************** ***** What do you think is the problem here? Thanks Malu |
Quote:
|
scotch compilation issues after using the latest full patch (2014-02-17 version)
I am having the same problem with scotch.
The scotch Makefile is present and accounted for and I also checked its contents in the appropriate linked location, but despite that, scotch is not being compiled. It still creates a dummy scotch and ptscotch library. I have applied all patches, and made all the softlinks and all serial runs work. I am using the latest MacPorts in 10.10 Yosemite. There are no more openmpi files.... everything is mpirun-openmpi-mp and mpicc-openmpi-mp etc. Im wondering if this is the issue? Below is a snippet showing just the scotch and ptscotch compilation part and its errors: Code:
Build Scotch decomposition library scotch_6.0.0 |
Installation on Mac El Capitain
1 Attachment(s)
Hello everyone
I'm experiencing some problems trying to install OpenFOAM 2.2.2 on MAC OS El Capitain. I followed the tutorial http://openfoamwiki.net/index.php/In...OpenFOAM_2.2.2. I used the patch OpenFOAM-2.2.x-Mac_2014-02-17.patch but it says: Marcos-MacBook-Pro:OpenFOAM-2.2.2 ferra_marco$ patch -p1<OpenFOAM-2.2.x-Mac_2014-02-17.patch patching file applications/solvers/combustion/fireFoam/Make/options patching file applications/solvers/compressible/rhoSimpleFoam/rhoSimplecFoam/Make/options patching file applications/solvers/incompressible/adjointShapeOptimizationFoam/Make/options patching file applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options can't find file to patch at input line 57 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/applications/solvers/lagrangian/DPMFoam/Make/options b/applications/solvers/lagrangian/DPMFoam/Make/options |--- a/applications/solvers/lagrangian/DPMFoam/Make/options |+++ b/applications/solvers/lagrangian/DPMFoam/Make/options -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/Make/options patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/icoUncoupledKinematicParcelDyMFoam/Make/options Reversed (or previously applied) patch detected! Assume -R? [n] and so on for other command line like that. Instead ThirdPart patch runs without problem. Then, if I go on the tutorial and I try to make ./Allwmake I have many errors. It seems I do not have a: /Users/ferra_marco/OpenFOAM/OpenFOAM-2.2.2/wmake/rules/darwinIntel64Gcc46/general: No such file or directory I enclose my log file. I hope someone can help me. Thanks Marco |
Installing openfoam 2.0 in macbook showing error
hai friends,
I would like to install openfoam 2.0 in mac. While installing i got the error that i mentioned below. Anyone can give the idea or link to solve the error is helpful for me. ./Allwmake: 4: ./Allwmake: wmakeCheckPwd: not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. Thanks in advance. |
Quote:
|
All times are GMT -4. The time now is 19:37. |