[AMBER] AMBER20/AMBERTools21 Installation Errors when compiling mpich

From: 石谷沁 <guqin.shi.qilu-pharma.com>
Date: Thu, 6 May 2021 07:56:19 +0000

Dear Amber Community,

I’m installing AMBER20 and AMBERTools21 on CentOS 7. I used devtoolset-8 for compiling so all compilers are version of 8.3.1. Cmake3 was used.

Serial module was installed successfully and the make test.serial all passed.

Then I followed the instructions here (https://ambermd.org/InstCentOS.php) to install mpich for parallel module.
I downloaded mpich-3.3.2 package from mpich.org, extract the folder under amber20_src/AmberTools/src and run ./configure_mpich gnu.

For first try, I got error like below:
Error reported that aclocal-1.15 is missing on your system…
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
make: *** [Makefile:10608: aclocal.m4] Error 127

Following the instruction, I installed following packages one by one:
m4-1.4.8.tar.gz (http://www.gnu.org/software/m4/m4.html)
autoconf-2.70.tar.gz (http://www.gnu.org/software/autoconf/autoconf.html)
automake-1.15.tar.gz (http://www.gnu.org/software/automake/#downloading)

For second try, it suggested syntax error which makes me hard to troubleshoot…
Is that related to the automake package version I installed? Is there a bundle of automake that’s suggested?
Any idea on how to fix this….? Thanks !!!
checking for errno.h... yes
checking for windows.h... no
checking for sys/mman.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for valgrind.h... no
checking for memcheck.h... no
checking for valgrind/valgrind.h... no
checking for valgrind/memcheck.h... no
checking for helgrind.h... no
checking for valgrind/helgrind.h... no
checking for drd.h... no
checking for valgrind/drd.h... no
checking whether the valgrind headers are broken or too old... yes
checking for clock_gettime... yes
checking for clock_getres... yes
checking for gethrtime... no
checking for mach_absolute_time... no
checking for gettimeofday... yes
./configure: line 14388: syntax error near unexpected token `else'
./configure: line 14388: `else $as_nop'
configure: error: MPL configure failed
MPICH configure failed, returning 1




***********Business Email Disclaimer**************

 This e-mail and any attachments are meant for the intended recipient only and may contain information belonging to Qilu Pharma that is privileged, confidential, proprietary, and/or otherwise protected or prohibited from disclosure. If you are not the correct recipient or received this e-mail erroneously, please inform the sender immediately and delete this mail from your system. Qilu Pharma state no liability for any damage to your system and data caused by this email. Unless this email is related to the business with the company, otherwise any views or opinions presented in this email are solely from the sender. Qilu Pharma has the right to monitor the sending and receiving of the e-mail.
AMBER mailing list
Received on Thu May 06 2021 - 01:00:02 PDT
Custom Search