Hi, I am trying to build/install mpi4py on Steele. I have downloaded mpi4py-1.1.0. The modules I have are... [agarwa23@tg-steele mpi4py-1.1.0]$ module list Currently Loaded Modulefiles: 1) intel64/11.1.038 2) mpich-intel64/11.1.038 3) java/1.6.0_14 4) mpich2-intel64/11.1.038 5) hdf5-1.8.3/intel-parallel I am getting warnings while building... [agarwa23@tg-steele mpi4py-1.1.0]$ python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/mpi4py copying src/rc.py -> build/lib.linux-x86_64-2.6/mpi4py copying src/__init__.py -> build/lib.linux-x86_64-2.6/mpi4py creating build/lib.linux-x86_64-2.6/mpi4py/include creating build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/MPI.pxd -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/mpi_c.pxd -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/__init__.pyx -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py copying src/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-2.6/mpi4py/include/mpi4py running build_ext MPI C compiler: /apps/rhel5/mpich2-1.1.1p1/64/nemesis-intel-11.1.038/bin/mpicc MPI C++ compiler: /apps/rhel5/mpich2-1.1.1p1/64/nemesis-intel-11.1.038/bin/mpicxx MPI linker: /apps/rhel5/mpich2-1.1.1p1/64/nemesis-intel-11.1.038/bin/mpicc building 'mpi4py.MPI' extension creating build/temp.linux-x86_64-2.6 creating build/temp.linux-x86_64-2.6/src /apps/rhel5/mpich2-1.1.1p1/64/nemesis-intel-11.1.038/bin/mpicc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/include/python2.6 -c src/MPI.c -o build/temp.linux-x86_64-2.6/src/MPI.o src/mpi4py.MPI.c(80664): remark #111: statement is unreachable return (signed short)__Pyx_PyInt_AsSignedLong(x); ^ src/mpi4py.MPI.c(80679): remark #111: statement is unreachable return (signed int)__Pyx_PyInt_AsSignedLong(x); ^ src/mpi4py.MPI.c(153): remark #593: variable "__pyx_skip_dispatch" was set but never used static int __pyx_skip_dispatch = 0; ^ src/mpi4py.MPI.c(986): remark #593: variable "__pyx_v_6mpi4py_3MPI_inited_atimport" was set but never used static int __pyx_v_6mpi4py_3MPI_inited_atimport; ^ These warnings are only a chunk of a whole lot of warnings I get. Help needed shankar KU Cosmology
Hi Shankar,
These warnings are only a chunk of a whole lot of warnings I get.
These are only warnings, and are from generated code. They appear to be non-fatal, and are probably not a problem. mpi4py is an external package, and any further questions should be directed to the mpi4py mailing list, where they are better suited to helping out with this. http://groups.google.com/group/mpi4py Best wishes, Matt
Hi Matt, I joined the mpi4py group and my emails to mpi4py@googlegroups.com are giving me "Delivery Failure" message. I see that you are a member of it too. Do you know what might be going on ? shankar
Hi Shankar, Before you go any further, you should really check to see if mpi4py is working or not. As Matt pointed out, those were only warnings, not errors. Most likely, it's working fine. Britton On Sun, Dec 6, 2009 at 11:24 AM, Agarwal, Shankar <sagarwal@ku.edu> wrote:
Hi Matt, I joined the mpi4py group and my emails to mpi4py@googlegroups.com are giving me "Delivery Failure" message.
I see that you are a member of it too. Do you know what might be going on ?
shankar
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Britton, I am following the instructions in install.rst. It says... Add :file:`$HOME/lib/python` or :file:`$HOME/lib64/python` to your :envvar:`PYTHONPATH` environment variable. I do not have lib in my $HOME. [agarwa23@tg-steele ~]$ echo $HOME /home/ba01/u118/agarwa23 [agarwa23@tg-steele ~]$ ls dir_hop enzo enzo1 enzov1.5 mpi4py And my .soft file looks like this... [agarwa23@tg-steele ~]$ cat .soft # Common TeraGrid Software Stack Version 3 (CTSSv3) # # Please consult TeraGrid user documentation at # http://www.teragrid.org/userinfo/software/softenv.php # for information on customizing this file. # PATH += /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/bin PYTHONPATH += /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib/python2.6/site-packages LD_LIBRARY_PATH += /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib # TeraGrid wide basic software suite @teragrid-basic # TeraGrid wide Globus 4 and Grid software suite @globus-4.0 # Platform recommended development software suite @teragrid-dev What should I do? Shankar KU Cosmology
hi Britton, Actually I just tried... mpirun -np 5 python demo/helloworld.py And it ran fine. So ignore my earlier mail. Thanks shankar -----Original Message----- From: yt-users-bounces@lists.spacepope.org on behalf of Agarwal, Shankar Sent: Sun 12/6/2009 12:33 PM To: Discussion of the yt analysis package Subject: RE: [yt-users] mpi4py on Steele Hi Britton, I am following the instructions in install.rst. It says... Add :file:`$HOME/lib/python` or :file:`$HOME/lib64/python` to your :envvar:`PYTHONPATH` environment variable. I do not have lib in my $HOME. [agarwa23@tg-steele ~]$ echo $HOME /home/ba01/u118/agarwa23 [agarwa23@tg-steele ~]$ ls dir_hop enzo enzo1 enzov1.5 mpi4py And my .soft file looks like this... [agarwa23@tg-steele ~]$ cat .soft # Common TeraGrid Software Stack Version 3 (CTSSv3) # # Please consult TeraGrid user documentation at # http://www.teragrid.org/userinfo/software/softenv.php # for information on customizing this file. # PATH += /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/bin PYTHONPATH += /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib/python2.6/site-packages LD_LIBRARY_PATH += /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib # TeraGrid wide basic software suite @teragrid-basic # TeraGrid wide Globus 4 and Grid software suite @globus-4.0 # Platform recommended development software suite @teragrid-dev What should I do? Shankar KU Cosmology
participants (3)
-
Agarwal, Shankar
-
Britton Smith
-
Matthew Turk