Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Hi all,
I wrote some instructions for compiling parallel elmer with Hypre and MUMPS linked in.
Here it is, have fun:
http://www.elmerfem.org/elmerwiki/index ... u_12.04%29
I have tested it only with two installations. Use with caution.
Also, give comments if there is some problems.
Cheers,
Eelis
I wrote some instructions for compiling parallel elmer with Hypre and MUMPS linked in.
Here it is, have fun:
http://www.elmerfem.org/elmerwiki/index ... u_12.04%29
I have tested it only with two installations. Use with caution.
Also, give comments if there is some problems.
Cheers,
Eelis
-
- Posts: 12
- Joined: 03 Apr 2013, 16:25
- Antispam: Yes
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Hello Eelis,
I used a compile file refer to your setting. It worked well on V6.1.
When I used it on V7.0, ElmerSolver worked well, but the ElmerSolver_mpi was missing. Could you help me? Thank you.
Best Regards,
Bangbing
I used a compile file refer to your setting. It worked well on V6.1.
When I used it on V7.0, ElmerSolver worked well, but the ElmerSolver_mpi was missing. Could you help me? Thank you.
Best Regards,
Bangbing
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
HI Bangbing.
Sure, could you give more details about the compilation?
For example, what does the "configure" (when using the script) say in "fem" directory?
Cheers,
Eelis
Sure, could you give more details about the compilation?
For example, what does the "configure" (when using the script) say in "fem" directory?
Cheers,
Eelis
-
- Posts: 12
- Joined: 03 Apr 2013, 16:25
- Antispam: Yes
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Hello Eelis,
I examed the config.log in fem and found same errors appeared in it many times. Please help to find what wrong. Thank you.
configure:2552: result: GNU
configure:2622: checking for gcc
configure:2649: result: mpicc
configure:2887: checking for C compiler version
configure:2894: mpicc --version >&5
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2897: $? = 0
configure:2904: mpicc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:2907: $? = 0
configure:2914: mpicc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2917: $? = 4
I examed the config.log in fem and found same errors appeared in it many times. Please help to find what wrong. Thank you.
configure:2552: result: GNU
configure:2622: checking for gcc
configure:2649: result: mpicc
configure:2887: checking for C compiler version
configure:2894: mpicc --version >&5
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2897: $? = 0
configure:2904: mpicc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:2907: $? = 0
configure:2914: mpicc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2917: $? = 4
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Hello Bangbing,Bangbing Wang wrote: I examed the config.log in fem and found same errors appeared in it many times. Please help to find what wrong. Thank you.
could you attach the whole config.log file?
Cheers,
Eelis
-
- Posts: 12
- Joined: 03 Apr 2013, 16:25
- Antispam: Yes
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
The attached file is config.log in fem directory. Please help to see what's wrong. Thank you.
- Attachments
-
- config.log
- (124.32 KiB) Downloaded 427 times
-
- Posts: 12
- Joined: 03 Apr 2013, 16:25
- Antispam: Yes
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
The two files attached are the compiling shell. Thank you!
- Attachments
-
- compile.txt
- (2.13 KiB) Downloaded 437 times
-
- compile1.txt
- (1.96 KiB) Downloaded 420 times
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Hi,
for some reason the configure doesn't find your mpi:
What does it say?
Cheers,
Eelis
for some reason the configure doesn't find your mpi:
try to locate mpi:configure:10695: checking for mpi-directory
configure:10705: result:
configure:10709: checking for mpi-lib-directory
configure:10722: result:
configure:10726: checking for mpi-inc-directory
configure:10739: result:
configure:10743: checking for mpi-library
configure:10753: result:
configure:10757: checking for mpi-include
configure:10767: result:
configure:10975: checking for mpf90
configure:11005: result: no
Code: Select all
sudo updatedb
locate libmpi
Cheers,
Eelis
-
- Posts: 12
- Joined: 03 Apr 2013, 16:25
- Antispam: Yes
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
There are two directories which have mpi.
Whether should I give the exact path?
Thank you very much!
Whether should I give the exact path?
Thank you very much!
- Attachments
-
- mpi.rar
- (8.41 KiB) Downloaded 394 times
Re: Wiki: Compile Parall. Elmer, Hypre and MUMPS (Ubuntu 12.04)
Hi Bangbing,
I am unable to open your attachement...
try to find with:
Another thing:
Which OS are you using?
Cheers,
Eelis
I am unable to open your attachement...
try to find with:
Code: Select all
which mpif90
Another thing:
Which OS are you using?
Cheers,
Eelis