Main menu

Navigation

problems with mpich

4 posts / 0 new
Last post
maisa@...
problems with mpich

Hello,
I am trying to run CAM on linux cluster...I am compiling fine, but model does not run...with an old version of mipich the model seems to run but does not produce any output files!!!

I have downloaded and compiled a newer version of mpich (1.2.6...not sure!)

here is the error message I get:
andes:~/CAM3.0/runs/parallel]% /usr/local/mpich/bin/mpirun -np 4 bld/cam < namelist
t_setoption: option disabled: Usr Sys
Permission denied.
p0_7375: p4_error: Child process exited while making connection to remote process on andes: 0
/usr/local/mpich/bin/mpirun: line 1: 7375 Broken pipe /export/home/andes/maisa/CAM3.0/runs/parallel/bld/cam -p4pg /export/home/andes/maisa/CAM3.0/runs/parallel/PI7249 -p4wd /export/home/andes/maisa/CAM3.0/runs/parallel

The cluster uses SCALI for comunication between nodes, and with other models we usually use mpimon for runnig the model...can CAM be build to use scali as well?

Also, can the model be compiled to run a machine with 64bit?

many thanks for any help,
Maisa

gcarr@...

Hmmm. If you are using mpich with the p4 driver, I'm guessing that you are using an ethernet network. In any case, with the p4 driver we discovered some coding problems in CCSM that will be needed. These are not yet fully tested and ready for distribution.

George R Carr Jr
NCAR/CGD
eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%67%63%61%72%72%40%75%63%61%72%2e%65%64%75%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%67%63%61%72%72%40%75%63%61%72%2e%65%64%75%3c%2f%61%3e%27%29%3b'))

vadim@...

Good day!!!

I install gcc cross compiler. How I can compile the mpich package with cross compiler? What options to me should be used?

Thanks in advance
Vadim Karamov

parinay@...

I am trying to configure/compile MPICH-1.2.7 with Intel C++ compilers version 9.
The problems is, it is faling to create shared libraries.

With icc version 8.00 , it use to compile shared libs, but dont know
whats gone in icc version-9.

The configure arguments are as below,

./configure --with-device=ch_shmem --enable-sharedlib
--prefix=/mnt/hdi1/parinay/rm/ICC-9/ -cc=icc -clinker=icc -c++=icpc
-c++linker=icpc --enable-debug

The output of ./configure related to shared lib is as below,

checking for argument used to indicate shared lib search dir... -Wl,-rpath -Wl,
checking whether shared libraries can be built... no

I tried to probe the matter at my end and thus the diff between the
Makefile of MPICH with these 2-compliers(version-8 and version-9) is
as below,
----------------------------------------------------------------------------------------------------------------------------
# diff icc-8/Makefile icc-9/Makefile
140c140
< -@if [ "gcc" != "ignore" ] ; then \
---
> -@if [ "ignore" != "ignore" ] ; then \
199c199
< ${top_srcdir}/util/makesharedlib -exceptobjs="farg.o
farg90.o initf.o" -lib=$$lib -kind=gcc ; \
---
> ${top_srcdir}/util/makesharedlib -exceptobjs="farg.o farg90.o initf.o" -lib=$$lib -kind=ignore ; \
204c204
< ${top_srcdir}/util/makesharedlib -exceptobjs="farg.o
farg90.o initf.o" -lib=lib.a -kind=gcc ; \
---
> ${top_srcdir}/util/makesharedlib -exceptobjs="farg.o farg90.o initf.o" -lib=lib.a -kind=ignore ; \
217c217
< @if [ "gcc" != "ignore" ] ; then \
---
> @if [ "ignore" != "ignore" ] ; then \
357c357
< --with-mpichsrc=${MPIR_HOME} --enable-shared \
---
> --with-mpichsrc=${MPIR_HOME} \
--------------------------------------------------------------------------------------------------------------------
I am running this on a NUMA machine with 2.6.12-rc1 kernel.

Let me know if you need anything more on this.

thank & regards,
parinay

Log in or register to post comments

Who's new

  • 1658093099@...
  • mborreggine@...
  • kabirtam@...
  • suns@...
  • liangpeng0405@...