[AMBER-Developers] A treatise on the unfortunate side-effects of the obliteration of MPI_HOME

From: Jason Swails <jason.swails.gmail.com>
Date: Tue, 29 Mar 2011 20:21:57 -0700

It breaks cuda_parallel:

/usr/local/cuda/bin/nvcc -use_fast_math -O3 -gencode
arch=compute_13,code=sm_13 -gencode arch=compute_20,code=sm_20 -DCUDA -DMPI
-DMPICH_IGNORE_CXX_SEEK -I/usr/local/cuda/include -IB40C
-IB40C/KernelCommon -c kForcesUpdate.cu
In file included from gpu.h:15,
                 from kForcesUpdate.cu:14:
gputypes.h:24:17: error: mpi.h: No such file or directory


I'm going to work on a way of getting the NVCC_INCLUDES to add this
directory without resorting back to MPI_HOME based on the location of mpif90
(but MPI_HOME will override it).

This is Linux + Intel compilers. Anyone else seeing this? I get it in the
current tree as well as AT15+Amber11.

I'll submit my fix shortly.

--Jason

-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue Mar 29 2011 - 20:30:02 PDT
Custom Search