Hi Bibek --

It seems likely that the issue here is related to your use of the 'portals4' conduit. This is a configuration that those of us at Cray don't have any direct experience with (that I'm aware of). I know there are members of the Chapel community who've wrestled with GASnet over portals4, but am not sure offhand what success they've had (hopefully, they'll chime in here).

In the meantime I'd suggest that we forward this on to the GASNet team, as it certainly appears to be a bug in their code. With your permission, I'd be happy to do this, and to keep you in the loop (but dropping the mailing list until we come to a resolution).

Thanks,
-Brad


On Wed, 1 Apr 2015, Bibek Ghimire wrote:

hi there,
  I am trying to compile chapel over gasnet with following configuration.


# bash shell script to set the Chapel environment variables


# shallow test to see if we are in the correct directory
# Just probe to see if we have a few essential subdirectories --
# indicating that we are probably in a Chapel root directory.
if [ -d "util" ] && [ -d "compiler" ] && [ -d "runtime" ] && [ -d "modules"
]
  then
     MYPATH=`./util/config/fixpath "$PATH" :`
     MYMANPATH=`./util/config/fixpath "$MANPATH" :`
     if [ -z "$MYPATH" ]
       then
         echo "Error running ./util/config/fixpath";
       else
         echo -n "Setting CHPL_HOME "
         export CHPL_HOME=$PWD
         echo "to $CHPL_HOME"

         echo -n "Setting CHPL_HOST_PLATFORM "
         export
CHPL_HOST_PLATFORM=`"$CHPL_HOME"/util/chplenv/chpl_platform.py`
         echo "to $CHPL_HOST_PLATFORM"

         echo -n "Updating PATH to include "
         export
PATH="$MYPATH":"$CHPL_HOME"/bin/$CHPL_HOST_PLATFORM:"$CHPL_HOME"/util
         echo "$CHPL_HOME"/bin/$CHPL_HOST_PLATFORM
         echo    "                     and ""$CHPL_HOME"/util

         echo -n "Updating MANPATH to include "
         export MANPATH="$MYMANPATH":"$CHPL_HOME"/man
         echo "$CHPL_HOME"/man

         echo "Setting CHPL_TASKS to qthreads"
         export CHPL_TASKS=qthreads

         echo "Setting CHPL_COMM to gasnet"
         export CHPL_COMM=gasnet

         echo "Setting CHPL_COMM_SUBSTRATE to portals4"
         export CHPL_COMM_SUBSTRATE=portals4




      fi
  else
     echo "Error: util/setchplenv must be sourced from within the chapel
root directory"
fi


I get following error over the gasnet_core.c


/gasnet_core.c:769:49: error: ‘mxm_ep_opts_t’ has no member named
‘zcopy_thresh’
    gasnet_mxm_module.zcopy_thresh = mxm_ep_opts->zcopy_thresh;

/gasnet_core.c:1327:17: note: each undeclared identifier is reported only
once for each function it appears in
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to