install Elmer in Linuxmint
install Elmer in Linuxmint
Hi all,
I've installed the new version Elmer, but the ElmerSolver always went wrong.
when I run ElmerSolver, the terminal shows:
Load: Unable to open shared library: [ElmerIceSolvers]
ElmerIceSolvers: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [ElmerIceSolvers.so]
ElmerIceSolvers.so: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [./ElmerIceSolvers]
./ElmerIceSolvers: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [./ElmerIceSolvers.so]
./ElmerIceSolvers.so: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers]
/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers.so]
/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers.so: cannot open shared object file: No such file or directory
...
I have set the environmental variables.
Hope to get some help. Thanks
Yemeng
I've installed the new version Elmer, but the ElmerSolver always went wrong.
when I run ElmerSolver, the terminal shows:
Load: Unable to open shared library: [ElmerIceSolvers]
ElmerIceSolvers: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [ElmerIceSolvers.so]
ElmerIceSolvers.so: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [./ElmerIceSolvers]
./ElmerIceSolvers: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [./ElmerIceSolvers.so]
./ElmerIceSolvers.so: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers]
/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers: cannot open shared object file: No such file or directory
Load: Unable to open shared library: [/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers.so]
/home/liyemeng/elmer/install/share/elmersolver/lib/ElmerIceSolvers.so: cannot open shared object file: No such file or directory
...
I have set the environmental variables.
Hope to get some help. Thanks
Yemeng
Re: install Elmer in Linuxmint
Hi Li Yemeng,
The ElmerSolver in your Elmer Solver run is unable to find "ElmerICE" libraries.
I guess you are using Cmake installation procedure. During the Elmer Build (configure +generate) process, did you configure Elmer with the prefixoption?
or in cmake-gui?
How did you configure during Elmer Build?
In my context, there is ElmerIceSolvers.so file in the above mentioned path /home/username/elmer/install/share/elmersolver/lib/
Yours Sincerely
Anil Kunwar
The ElmerSolver in your Elmer Solver run is unable to find "ElmerICE" libraries.
I guess you are using Cmake installation procedure. During the Elmer Build (configure +generate) process, did you configure Elmer with the prefix
Code: Select all
--WITH_ElmerIce
or in cmake-gui
Code: Select all
WITH_Elmerice [Tick Mark]
How did you configure during Elmer Build?
In my context, there is ElmerIceSolvers.so file in the above mentioned path /home/username/elmer/install/share/elmersolver/lib/
Yours Sincerely
Anil Kunwar
Last edited by annier on 17 May 2015, 12:36, edited 1 time in total.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Re: install Elmer in Linuxmint
Hi Anil,
I use cmake to generate Elmer
and I didn't use "--WITH_ElmerIce" option.
where should I put the prefix "--WITH_ElmerIce"?
And I just check the ElmerIce Wiki, it says add the following option "-DWITH_ElmerIce:BOOL=TRUE" to cmake. Is that what you mean?
Sincerely,
Yemeng
I use cmake to generate Elmer
Code: Select all
$ cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
where should I put the prefix "--WITH_ElmerIce"?
And I just check the ElmerIce Wiki, it says add the following option "-DWITH_ElmerIce:BOOL=TRUE" to cmake. Is that what you mean?
Sincerely,
Yemeng
Re: install Elmer in Linuxmint
Hi Anil,annier wrote:Hi Li Yemeng,
The ElmerSolver in your Elmer Solver run is unable to find "ElmerICE" libraries.
I guess you are using Cmake installation procedure. During the Elmer Build (configure +generate) process, did you configure Elmer with the prefixoption?Code: Select all
--WITH_ElmerIce
or in cmake-gui?Code: Select all
WITH_ElmerIce [Tick Mark]
How did you configure during Elmer Build?
In my context, there is ElmerIceSolvers.so file in the above mentioned path /home/username/elmer/install/share/elmersolver/lib/
Yours Sincerely
Anil Kunwar
I use cmake to generate Elmer
Code: Select all
$ cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
and I didn't use "--WITH_ElmerIce" option.
where should I put the prefix "--WITH_ElmerIce"?
And I just check the ElmerIce Wiki, it says add the following option "-DWITH_ElmerIce:BOOL=TRUE" to cmake. Is that what you mean?
Sincerely,
Yemeng
Re: install Elmer in Linuxmint
Hi Li Yemeng,
- You first need to delete whole "Build" directory and again restart the build + installation procedure.
- Yes, "-DWITH_ElmerIce:BOOL=TRUE" is the code snippet for prefix "--WITH_Elmerice" in cmake style. when you use the cmake configuration, you can add the piece of code snippet into configuration +generate code as:
Or,
if you use the cmake-gui, you can do it as shown in the image where WITH_Elmerice is tick marked.
Yours Sincerely
Anil Kunwar
- You first need to delete whole "Build" directory and again restart the build + installation procedure.
- Yes, "-DWITH_ElmerIce:BOOL=TRUE" is the code snippet for prefix "--WITH_Elmerice" in cmake style. when you use the cmake configuration, you can add the piece of code snippet into configuration +generate code as:
Code: Select all
$cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DWITH_ElmerIce:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
Or,
if you use the cmake-gui, you can do it as shown in the image where WITH_Elmerice is tick marked.
Yours Sincerely
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Re: install Elmer in Linuxmint
Hi Anil,
when run ctest, there're still errors.
The steps I install Elmer is as follows,
when run cmake, there are some warnings.
"Synatax Warning in cmake code at /home/username/elmer/elmerfem/cmake/Modules/testGFortranVersion.cmake:49:9
Argument not separated from preceding token by whitespace.
This warning is for project developers. ..."
Do this warning lead to the fail installation?
Thank you for your kind help.
Sincerely,
Yemeng
when run ctest, there're still errors.
Code: Select all
The following tests FAILED:
1 - Density (Failed)
3 - Hydro_Coupled (Failed)
4 - IntegrateVertically (Failed)
5 - SIA (Failed)
6 - Grounded (Failed)
7 - Porous (Failed)
8 - Hydro_SedOnly (Failed)
9 - SSA_IceSheet (Failed)
10 - SSA_Weertman (Failed)
...
Code: Select all
$ mkdir elmer
$ cd elmer
$ git clone git://www.github.com/ElmerCSC/elmerfem
$ mkdir build
$ cd build
$cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DWITH_ElmerIce:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
$ make -j4 install
"Synatax Warning in cmake code at /home/username/elmer/elmerfem/cmake/Modules/testGFortranVersion.cmake:49:9
Argument not separated from preceding token by whitespace.
This warning is for project developers. ..."
Do this warning lead to the fail installation?
Thank you for your kind help.
Sincerely,
Yemeng
Re: install Elmer in Linuxmint
Hi Li Yemeng,
-In general, such warnings are not related to installation failures.
- Did all of your tests failed or some of them passed?
- If some of them have passed, then your installation has been complete successfully. If all the tests have failed, there is some installation failure.
-What is the bit size of your linuxmint OS - 32 or 64? Installing in 64 bit OS generally goes smooth owing to the compatibility with recently developed softwares.
-What is the version of your gfortran? For elmer installation, gfortran version should be 4.8.1 or later.
-Also, please try the option of setting WITH_MPI to true.
Yours Sincerely
Anil Kunwar
-In general, such warnings are not related to installation failures.
- Did all of your tests failed or some of them passed?
- If some of them have passed, then your installation has been complete successfully. If all the tests have failed, there is some installation failure.
-What is the bit size of your linuxmint OS - 32 or 64? Installing in 64 bit OS generally goes smooth owing to the compatibility with recently developed softwares.
-What is the version of your gfortran? For elmer installation, gfortran version should be 4.8.1 or later.
-Also, please try the option of setting WITH_MPI to true.
Code: Select all
-DWITH_MPI:BOOL=TRUE
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Re: install Elmer in Linuxmint
Hi Anil,
Many of them passed and some failed.
The linuxmint OS is 64bit and gfortran is 4.8.2
To start my project I've used other's Elmer and skip the installation problem for a while.
Thank you again for your reply.
Yemeng
Many of them passed and some failed.
The linuxmint OS is 64bit and gfortran is 4.8.2
To start my project I've used other's Elmer and skip the installation problem for a while.
Thank you again for your reply.
Yemeng
Re: install Elmer in Linuxmint
Hi Li Yemeng,
You can try adding Elmer into your linuxmint by using the launchpad as linuxmint and ubuntu are compatible (in my guess):
a. First add ppa repository of elmer
b. Get update
c. Install elmer
More information
viewtopic.php?f=11&t=3725
viewtopic.php?f=2&t=3653&p=12260&sid=73 ... e3e#p12260
yours sincerely
anil kunwar
You can try adding Elmer into your linuxmint by using the launchpad as linuxmint and ubuntu are compatible (in my guess):
a. First add ppa repository of elmer
Code: Select all
$ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
Code: Select all
$ sudo apt-get update
Code: Select all
$ sudo apt-get install elmerfem-csc
viewtopic.php?f=11&t=3725
viewtopic.php?f=2&t=3653&p=12260&sid=73 ... e3e#p12260
yours sincerely
anil kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Re: install Elmer in Linuxmint
Hi Li Yemeng,
Have you found any new developments for Elmer installation in LinuxMint (with Cmake):
viewtopic.php?f=2&t=3968
Yours Sincerely
Anil Kunwar
Have you found any new developments for Elmer installation in LinuxMint (with Cmake):
viewtopic.php?f=2&t=3968
Yours Sincerely
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice