Re: [AMBER] [EXTERNAL] Re: AMBER22 failed during installation on CUDA and centos 7.9

From: Hamza, Adel via AMBER <amber.ambermd.org>
Date: Fri, 26 Aug 2022 13:58:19 +0000

Thank you so much, the installation on CUDA and the prog work fine now !
Best
Adel


-----Original Message-----
From: David A Case <david.case.rutgers.edu>
Sent: Wednesday, August 24, 2022 8:35 PM
To: Hamza, Adel <adel.hamza.corteva.com>; AMBER Mailing List <amber.ambermd.org>
Subject: [EXTERNAL] Re: [AMBER] AMBER22 failed during installation on CUDA and centos 7.9

On Wed, Aug 24, 2022, Hamza, Adel via AMBER wrote:

>I need help please, I was unable to compile and install amber22 on
>cuda. The MPI version on cpu was installed fine.
>
>CentOS 7.9
>gcc 7.2
>cmake 3.17
>
>CUDA - I've tried both 10.1.168 and 11.2 The GPU Card is : P100
>
>---------------------------------------
>[ 89%] Building NVCC (Device) object
>src/pmemd/src/xray/cuda/CMakeFiles/pmemd_xray_cuda.dir/src/xray/pmemd_x
>ray_cuda_generated_BulkMaskGPU.cu.o
>/share/apps/cuda/11.2.0/include/thrust/detail/allocator/allocator_traits.h(245): error: class "thrust::detail::device_delete_allocator" has no member "value_type"

We see this with RHEL/CentOS with some combinations, but not all, of gcc and
nvcc. We have a workaround, but don't understand what the underlying
problem really is.

Try this:

cd amber22_src/src/pmemd/src
mv CMakeLists.txt CMakeLists.txt.original cp CMakeLists.txt.noxray CMakeLists.txt # rebuild cd amber22_src/build ./clean_build ./run_cmake make

This problem was detected during beta testing on various platforms:
RHELS 7.9 with GNU 9.1.0 and nvcc's 11.2.152, 11.1.105, 11.0.221; CentOS 7.9 with GNU 10.2.0 and nvcc 11.1.74.

And was reported by user Felix Bangerter on CentOS 7.8 with GNU 7.1.0 and CUDA 10.2.89.
For him the same problems did not occur when using CUDA 11.4.1.

(Above is from here: https://urldefense.com/v3/__http://archive.ambermd.org/202206/0040.html__;!!Eq8rgdkfa9r_yJvCTg!xaKa2B5JonTmlgfVBKAvF9V3nbiSIEecyEDVIkRTTsN_9kyacbiV4SUWCeo-P91Dd8bQ45t2bvABKqKn84gFSOBwvQ$ )

...good luck....dac



This communication is for use by the intended recipient and contains information that may be Privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail,in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean https://www.corteva.com/email-disclaimer.html

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Aug 26 2022 - 07:00:19 PDT
Custom Search