Re: NAMD with Myrinet MX on MacOS X

From: Scott Atchley (atchley_at_myri.com)
Date: Fri Jan 27 2006 - 13:23:29 CST

On Jan 27, 2006, at 12:35 PM, Goran Krilov wrote:

> Hi,
>
> I am trying to build NAMD on Myrinet using the new MX Myrinet
> protocols rather than GM. Has anyone accomplished this,
> and what would be the correct strategy? I found only GM based
> architecture
> files for Charm builds. Many thanks!

Hi,

We have built namd on mpich-mx on Linux and I would assume it is the
same on MacOSX.

Basically, we pointed charm at mpich-mx which pointed it to the
correct mx lib.
You will need to edit conv-mach.sh:

CMK_REAL_COMPILER=`/opt/mpich-mx/bin/mpiCC -show 2>/dev/null | cut -
d' ' -f1 `
case "$CMK_REAL_COMPILER" in
g++) CMK_AMD64="-m64 -fPIC" ;;
esac

OPTS_CPP="$OPTS_CPP -I/opt/mpich-mx/include"

CMK_CPP_CHARM="/lib/cpp -P"
CMK_CPP_C="mpicc -E"
CMK_CC="mpicc $CMK_AMD64 "
CMK_CXX="mpiCC $CMK_AMD64 "
CMK_CXXPP="mpiCC -E $CMK_AMD64 "

CMK_SYSLIBS="-L/opt/mpich-mx/lib -lmpich -L/opt/mx/lib -lmyriexpress"
...

I am assuming that the AMD64 references will be PPC64.

Scott

--
Scott Atchley
Myricom Inc.
http://www.myri.com

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:43:16 CST