[AMBER-Developers] intel 16.0.3 compilation error

From: Scott Brozell <sbrozell.rci.rutgers.edu>
Date: Fri, 6 Apr 2018 21:43:24 -0400

Hi,

In master and RC4:

mpif90 -DMPI -DMKL -DBINTRAJ -DEMIL -DPUBFFT -ipo -O3 -no-prec-div -xHost -I/tmp/amber/include -c nb_pairlist.F90
nb_pairlist.F90(3239): error #8018: The memory reference associated with an ASSUME_ALIGNED directive must not be in COMMON, a field reference, use associated, or host associated. [PROC_ATM_TO_FULL_LIST]
!DIR$ ASSUME_ALIGNED x_crd_j:64,y_crd_j:64,z_crd_j:64,atm_j_lst:64,proc_atm_to_full_list:64, atm_j_excl_list:64
-------------------------------------------------------------------^
compilation aborted for nb_pairlist.F90 (code 1)
make[2]: *** [nb_pairlist.o] Error 1

Apr 06 9:15:27pm ruby01.osc.edu 479$ /tmp/amber/src mpif90 -v
mpifort for MVAPICH2 version 2.2
ifort version 16.0.3

Here is the code fragment:
 
       ! loop over neighbor buckets
#if defined(MPI) && !defined(CUDA)
 !DIR$ ASSUME_ALIGNED x_crd_j:64,y_crd_j:64,z_crd_j:64,atm_j_lst:64,proc_atm_to_full_list:64, atm_j_excl_list:64
 !DIR$ VECTOR ALWAYS
! !DIR$ UNROLL=4
! !DIR$ LOOP COUNT AVG=1000
#endif


scott

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Apr 06 2018 - 19:00:02 PDT
Custom Search