Installation of foam-extend 3.1 - Packages missing
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, |
Greetings Aude,
We will need a few more details in order to be able to diagnose what went wrong:
Bruno |
1 Attachment(s)
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 :p |
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 |
@Aude:
Quote:
Code:
bash: /Allwmake: No such file or directory Code:
./Allwmake >> log.make 2>&1 Code:
cd $WM_THIRD_PARTY_DIR _____________ @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 :(. |
1 Attachment(s)
i use Ubuntu 1404;
uname -m x86_64; the attached logfile |
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 Next try building everything once again with the commands below. With luck, this will solve the problem: Code:
./AllMake.pre > ../log.make 2>&1 By the way, which exact origin did your foam-extend 3.1 source code come from? Best regards, Bruno |
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 |
1 Attachment(s)
The log data:
|
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 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 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 Best regards, Bruno |
1 Attachment(s)
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. |
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 Code:
for a in rpmBuild/TGZS/x86_64/*.tgz; do tar -xzf $a; done > log.tarballs 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 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. |
Worked no more error messages
|
All times are GMT -4. The time now is 11:22. |