---------- Forwarded message ---------
From: Benjamin LIPERE <[email protected]>
Date: ven. 12 oct. 2018 à 16:38
Subject: Re: [chapel-lang/chapel] Get it right for install Chapel ! -
LIPERE Benjamin. (#11356)
To: <
reply+0028a482ff8578fe91c62de8413fd84fb5c600dd396bbc5292cf0000000117d8597b92a169ce1605c...@reply.github.com
>
Cc: <[email protected]>, <[email protected]>, Eric
GERMANEAU <[email protected]>


Hello.
Thanks for your answer and your help !

Already done all of what you say.
I am tiring a bit of testing actually, so sorry, it is for you.

Here :
cat compile-chapel.sh
#!/bin/bash
export CHPL_HOME=/opt/chapel
export CHPL_HOST_PLATFORM=linux64
cd $CHPL_HOME
apt-get install -y --force-yes cmake libclang-dev
apt-get install -y --force-yes libjemalloc1 libjemalloc-dev libjemalloc1-dbg
apt-get install -y --force-yes hwloc libhwloc-common libhwloc-dev
libhwloc-doc libhwloc-plugins libhwloc5
apt-get install -y --force-yes libunwind8 libunwind8-dbg libunwind8-dev
libunwind-setjmp0 libunwind-setjmp0-dbg libunwind-setjmp0-dev
apt-get install -y --force-yes libgmp-dev libgmp3-dev
apt-get install -y --force-yes libgmp10 libgmp10-doc gmp-ecm
apt-get install -y --force-yes libcurl3 libcurl3-dev libcurl3-dbg
apt-get install -y --force-yes llvm llvm-dev
apt-get install -y --force-yes git-all os-prober
/usr/sbin/service apache2 stop

# RE2
#git clone 'https://github.com/google/re2.git'
cd $CHPL_HOME/re2
chown -R root:root $CHPL_HOME
chmod -R 765 $CHPL_HOME
make
make test
make install
make testinstall

# BLCR - NOT IN LXD
cd $CHPL_HOME
rm -Rf $CHPL_HOME/blcr-0.8.5
tar -xzvf blcr-0.8.5.tar.gz
chown -R root:root $CHPL_HOME
chmod -R 765 $CHPL_HOME
cd $CHPL_HOME/blcr-0.8.5

# GASNet
cd $CHPL_HOME
rm -Rf $CHPL_HOME/GASNet-1.32.0
tar -xzvf GASNet-1.32.0.tar.gz
chown -R root:root $CHPL_HOME
chmod -R 765 $CHPL_HOME
cd $CHPL_HOME/GASNet-1.32.0
./configure
make
make install

# MassiveThreads - NOT INSTALLED YET
chown -R root:root $CHPL_HOME
chmod -R 765 $CHPL_HOME

# CONFIGURE AND MAKE CHAPEL
cd $CHPL_HOME
export CHPL_TARGET_COMPILER=gnu
export CHPL_TARGET_ARCH=none
export CHPL_LOCALE_MODEL=flat
export CHPL_TASKS=fifo
export CHPL_COMM=gasnet
export CHPL_COMM_SUBSTRATE=mpi
export CHPL_MEM=jemalloc
export CHPL_ATOMICS=intrinsics
export CHPL_HWLOC=hwloc
export CHPL_GMP=gmp
export CHPL_REGEXP=re2
export CHPL_AUX_FILESYS=curl
export CHPL_LLVM=none
export CHPL_WIDE_POINTERS=struct
export CHPL_UNWIND=libunwind
export PATH=$CHPL_HOME/bin/linux64/:$PATH

#
# Settings to run Chapel on multiple nodes
#
export GASNET_SPAWNFN=S
export SSH_SERVERS="rsp-node0 rsp-node1 rsp-node2 rsp-node3"
export SSH_CMD=ssh
export SSH_OPTIONS=-x
export GASNET_ROUTE_OUTPUT=0

chown -R root:root $CHPL_HOME
chmod -R 765 $CHPL_HOME
./configure
make

And this par is my tests :
make check
rm -Rf /share/chapel/
mkdir -p /share/chapel/
cd /share/chapel
cp -Rf $CHPL_HOME/examples/ /share/chapel/
chpl -o hello examples/hello.chpl
su -c './hello -nl 1' developper
chpl -o hello3 examples/hello3-datapar.chpl
su -c './hello3 -nl 1' developper
chpl -o hello4-dist examples/hello4-datapar-dist.chpl
su -c './hello4-dist -nl 3' developper
chpl -o hello6-dist examples/hello6-taskpar-dist.chpl
su -c './hello6-dist -nl 3' developper
cp $CHPL_HOME/modules/packages/MPI.chpl examples
chpl -o MPI-dist examples/MPI.chpl
./MPI-dist -nl 3

OpenMPI is last version.
Now here my problems :
1) locale are working but only on the node where the program is started.
Typically, the "hello" program will alway run on rsp-node0 (witch is the
node where I launch the program), but I want them to run locale on
rsp-node1 and rps-node2 if I get 3 locale.
Use of OpenMPI seamlessly is very preferable for me.
2) The MPI script, well it does not work.
Same as https://github.com/chapel-lang/chapel/issues/6516
But here I really think that I don't have the right parameter.

Also I see this https://github.com/chapel-lang/chapel/issues/5722.
Can I help with that ?

Please keep my friend in the reply.
Thanks by advance.
Best Regards.
Benjamin.

Le ven. 12 oct. 2018 à 14:45, Michael Ferguson <[email protected]> a
écrit :

> Hi @lipere123 <https://github.com/lipere123>, we're glad you'r interested
> but it's hard to help without knowing what is going wrong.
>
> Do you have Chapel working in single-locale? If not, start here:
> https://chapel-lang.org/docs/usingchapel/QUICKSTART.html
>
> Then, have you tried these instructions:
> https://chapel-lang.org/docs/usingchapel/multilocale.html ? Do you have
> multilocale working in any configuration, even if it's not the
> configuration you eventually want?
>
> Lastly, it might help you to talk about this in a more live setting. If
> you want to do that, please head over to our gitter channel,
> https://gitter.im/chapel-lang/chapel
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/chapel-lang/chapel/issues/11356#issuecomment-429313127>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACikglBv-vhDs0_AUwY9E6m7nlfKytE1ks5ukI77gaJpZM4XZIwX>
> .
>


-- 
LIPERE Benjamin
19-21 Rue Carnot
IGNY FRANCE
06 26 14 35 20
[email protected]


-- 
LIPERE Benjamin
19-21 Rue Carnot
IGNY FRANCE
06 26 14 35 20
[email protected]
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to