[AMBER] Installation errors of AmberTools 21 on Ubuntu 20.04 WSL2

From: M. Reza Ganjalikhany <ganjalikhany.gmail.com>
Date: Sun, 20 Mar 2022 14:09:09 +0330

Dear Amber users,

I got some errors during the installation of AmberTools 21 on Ubuntu
20.04.4 WSL2 (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64). Has
anyone recently tasted Ambertools21 on Ubuntu 20.04 WSL2?

My Ubuntu WSL2 is almost fresh and updated, and I used the package manager
to install all the necessary packages as suggested in Amber website (
https://ambermd.org/InstUbuntu.php). Also, I installed "build-essentials"
since the serial version needs g++ and it was necessary to successfully
finish run_cmake.

After installing the serial version, I tried to install Ambertools in
parallel separately using OpenMPI from package manager and also MPICH 4.0.1
using configure_mpich. After run_cmake, I got the same error during “make
install” for both OpenMPI and MPICH. OpenMPI has been removed before using
MPICH.

Also, the output for run_cmake and make install has been attached as a txt
file.


Here is the the error message:

.

.

[ 23%] Building C object
AmberTools/src/pnetcdf/src/lib/CMakeFiles/ncvalid.dir/var.c.o
[ 23%] Linking C executable ncvalid
[ 23%] Built target ncvalid
Scanning dependencies of target mpi4py
[ 23%] Building mpi4py
running build
running build_src
running build_py

.

.

.

collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
error: Cannot link MPI programs. Check your configuration!!!
make[2]: ***
[AmberTools/src/mpi4py-3.0.3/CMakeFiles/mpi4py.dir/build.make:276:
AmberTools/src/mpi4py-3.0.3/CMakeFiles/mpi4py-build/mpi4py-build.stamp]
Error 1
make[1]: *** [CMakeFiles/Makefile2:4783:
AmberTools/src/mpi4py-3.0.3/CMakeFiles/mpi4py.dir/all] Error 2
make: *** [Makefile:152: all] Error 2


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Sun Mar 20 2022 - 04:00:02 PDT
Custom Search