|
[Sponsors] |
[foam-extend.org] Installation of foam-extend 3.1 - Packages missing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 2, 2015, 04:51 |
Installation of foam-extend 3.1 - Packages missing
|
#1 |
New Member
Aude
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Hello everybody,
I'm a newbie to OF, and CFD in general, and I need to work with foam-extend. I've followed the installation guide on: http://openfoamwiki.net/index.php/In...oam-extend-3.1 And everything seemed to work, but when I type "fe31" I get the following message: [lahalle@aglin1 ~]$ fe31 bash: /lahalle/foam/foam-extend-3.1/ThirdParty/packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc/openmpi-1.6.5.sh: No such file or directory bash: /lahalle/foam/foam-extend-3.1/ThirdParty/packages/metis-5.1.0/platforms/linux64GccDPOpt/etc/metis-5.1.0.sh: No such file or directory bash: /lahalle/foam/foam-extend-3.1/ThirdParty/packages/parmetis-4.0.3/platforms/linux64GccDPOpt/etc/parmetis-4.0.3.sh: No such file or directory bash: /lahalle/foam/foam-extend-3.1/ThirdParty/packages/scotch-6.0.0/platforms/linux64GccDPOpt/etc/scotch-6.0.0.sh: No such file or directory bash: /lahalle/foam/foam-extend-3.1/ThirdParty/packages/hwloc-1.7.2/platforms/linux64GccDPOpt/etc/hwloc-1.7.2.sh: No such file or directory I've managed to run some cases without any problem, but I need to run a case in parallel, and if I understood well (correct me if I'm wrong), i need openmpi to run in parallel. So I'm a bit stuck, and puzzled. Can anybody help me solve this issue? I'm guessing it has something to do with the installation, but I'm not familiar with Linux, and I'm honestly a bit lost, any help would be much appreciated. Thanks in advance, |
|
October 3, 2015, 13:17 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Aude,
We will need a few more details in order to be able to diagnose what went wrong:
Bruno
__________________
Last edited by wyldckat; October 8, 2015 at 18:49. Reason: had placed the 2x "greater than" signs in the wrong line |
|
October 5, 2015, 04:07 |
|
#3 |
New Member
Aude
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Hello wyldckat,
Thank you for your reply. So, regarding the questions you asked me: 1) I'm using Fedora, version 20 2) When I run the command "uname -m" I get the following: [lahalle@aglin1 ~]$ uname -m x86_64 3) I attached the log file. Thanks again for your help, I was getting desperate |
|
October 7, 2015, 10:55 |
|
#4 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 14 |
i have the same problem i tried reinstalling from git and with snapshot; without success.
im using Ubuntu 14.04 the strange think is that is sucessfully compiled fe31 in the past |
|
October 8, 2015, 19:13 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
@Aude:
Unfortunately you did not write the command properly, because the only thing present inside the log file is this: Code:
bash: /Allwmake: No such file or directory Code:
./Allwmake >> log.make 2>&1 Code:
cd $WM_THIRD_PARTY_DIR ./AllMake.pre > ../log.make 2>&1 cd .. ./Allwmake >> log.make 2>&1 gzip < log.make > log.make.gz _____________ @Henning86: Then please follow the instructions in my question #3 from my previous post, otherwise I can't even start to guess what went wrong . |
|
October 9, 2015, 06:06 |
|
#6 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 14 |
i use Ubuntu 1404;
uname -m x86_64; the attached logfile |
|
October 10, 2015, 10:08 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Henning86,
Well, this is a fairly strange bug. The installation scripts indicate that the 3rd party packages were installed with success, but the necessary shell scripts somehow were not installed. Please use the following commands: Code:
cd $WM_THIRD_PARTY_DIR ./AllClean rm -r platforms Next try building everything once again with the commands below. With luck, this will solve the problem: Code:
./AllMake.pre > ../log.make 2>&1 cd .. ./Allwmake >> log.make 2>&1 gzip < log.make > log.make.gz By the way, which exact origin did your foam-extend 3.1 source code come from? Best regards, Bruno |
|
October 11, 2015, 15:46 |
|
#8 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 14 |
Thanks for the quick reply.
I installed the git versions (with git clone ..) but right now i use the snapshot. But none of them worked. Best regards Henning |
|
October 11, 2015, 15:50 |
|
#9 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 14 |
The log data:
|
|
October 11, 2015, 17:19 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Henning,
Something very strange is going on with your system. But we will have to address one problem at a time. The first problem is that there are some shell files that are missing and we need to find where they've gone to. To check where they are, please run the following commands: Code:
foam3rdParty tar -tf rpmBuild/TGZS/x86_64/openmpi-1.6.5.tgz > tracking_down.txt ls -l packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc >> tracking_down.txt find packages/openmpi-1.6.5/platforms/linux64GccDPOpt/ >> tracking_down.txt gzip < tracking_down.txt > tracking_down.txt.gz The information that is collected with the commands above are for figuring out if the missing files exist in the current installation and in the tarball that the build scripts create. Essentially I'm looking for these files: Code:
packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc/openmpi-default-hostfile packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc/openmpi-1.6.5.sh packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc/openmpi-1.6.5.csh packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc/openmpi-totalview.tcl packages/openmpi-1.6.5/platforms/linux64GccDPOpt/etc/openmpi-mca-params.conf As for the reason why I commented that your system is doing something strange, is because of this warning message that appears a lot during the build: Code:
make: Warning: File `Make/linux64GccDPOpt/dontIncludeDeps' has modification time 0,22 s in the future make: warning: Clock skew detected. Your build may be incomplete. Best regards, Bruno |
|
October 12, 2015, 05:37 |
|
#11 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 14 |
The folder etc/ and share/ are missing somehow. i tried executing the commands on both servers but the problem is still the same.
Regarding the warning with the future: We use two servers. One holds all the data and the other one just mounts the data. |
|
October 12, 2015, 17:53 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: A ton of files are missing from the installation folder, but at least the tarball seems to be OK.
Please try the following commands: Code:
foam3rdParty for a in rpmBuild/TGZS/x86_64/*.tgz; do tar -xzf $a; done Code:
for a in rpmBuild/TGZS/x86_64/*.tgz; do tar -xzf $a; done > log.tarballs gzip < log.tarballs > log.tarballs.gz On the other hand, if there are no error messages, then run: Code:
source $WM_PROJECT_DIR/etc/bashrc If not, then run: Code:
foam ./Allwmake > log.make 2>&1 ./Allwmake > log.make 2>&1 Regarding the clocks, please configure your two servers to rely on NTP for clock synchronization, either one syncing with the other, or both syncing with an outside NTP source, because having this time offset might be what's breaking the build system. |
|
October 13, 2015, 05:16 |
|
#13 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 14 |
Worked no more error messages
|
|
Tags |
fe31, foam extend 3.1, installation, packages |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 08:43 |
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox | Stubby | OpenFOAM Installation | 8 | March 5, 2012 16:12 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |