wyldckat |
April 30, 2018 16:56 |
Greetings to all!
The majority of the installation instructions provided at openfoamwiki.net for CentOS, as listed here: https://openfoamwiki.net/index.php/C...FOAM_on_CentOS - have instructions on which packages are needed to be installed with root permissions in the CentOS system. After installing the packages needed, the remaining installation instructions do not require root/administrator permissions.
Without specific details on which packages are already installed or are not installed in the machine where you are using CentOS 6.5, it's not easy to guide someone on how to proceed. By running the following command, you will get a complete list of packages already installed on that system:
Code:
rpm -qa > log.installed.files
gzip < log.installed.files > log.installed.files.gz
Then attach the file "log.installed.files.gz" to your next post.
Beyond this, I have three other suggestions:
- Try following the instructions provided at openfoamwiki.net for the version of OpenFOAM you are trying to install, but skip the step that tells you which packages to install.
- If that does not work:
- Create a virtual machine in your own workstation/laptop at your work place or at home, and inside that virtual machine, install CentOS 6.5.
- Then compile the OpenFOAM version you want to use at the other machine.
- Then package the folders "OpenFOAM-*" and "ThirdParty-*" by using tar+gzip, for example, by running the following commands inside the folder "~/OpenFOAM":
Code:
tar -czf OpenFOAM-version.tar.gz OpenFOAM-*/platforms
tar -czf ThirdParty-version.tar.gz ThirdParty-*/platforms
These two command will only package the binary files that have been built from source code.
- Then unpack there two packages "OpenFOAM-version.tar.gz" + "ThirdParty-version.tar.gz" inside the respective folder "~/OpenFOAM" at the machine where you want to use it, for example, by running:
Code:
tar -xf OpenFOAM-version.tar.gz
tar -xf ThirdParty-version.tar.gz
- If any or all of the above fail, ask nicely your system's administrator to install the necessary packages, so that you can build OpenFOAM yourself.
Best regards,
Bruno
|