|
From: Christos A. <alt...@gm...> - 2019-08-04 17:07:36
|
Hi Kumar, Since I very recently got through the installation of ANUGA on a cluster I will try to share my limited knowledge on this. This error message comes from the fact that pypar is not compiled properly. Pypar, to the best of my knowledge cannot be installed via pip or conda and you need to do the installation from source. You need to download pypar and check the setup.py file. There is a certain line which invokes the command mpicc -show and then pypar knows how it should compile the mpiext.c file. What is the output of mpicc -show command on the cluster?? Where are you installing pypar?? Do you have a local installation of python site-packages?? Go the the installation folder of pypar, which would be most probably something like ~/python/lib64/python2.7/site-packages/pypar and check if there is a file called mpiext.so. If it exists, then compilation was successful and you need to set the path to the correct location. If you do not see this file, then you have not compiled it, most probably because the setup.py of pypar installation did not find the mpicc compiler. My suggestion would be to install pypar locally independently of anuga and do the tests. If you are able to do this, then anuga will be compiled with no problems. I apologize for the lack of better instructions but I am not proficient in doing these things. I just passed some of my recent experience. Best Christos On Sun, Aug 4, 2019 at 1:04 PM Kumar Chandranshu <cha...@gm...> wrote: > I got an error while running the command *bash tools/install_ubuntu.sh* > Command Line Output: > > > *ERROR: C extension mpiext could not be imported.Please compile mpiext.c > e.g. by running python compile_pypar_locally.py in the pypar directory, or > by using python setup.py install* > > *WARNING: MPI library could not be initialised. Running sequentially* > > Can someone please help me resolve this issue? I'm trying to get started > with anuga for my college project. > > Thanks and regards > Chandranshu > _______________________________________________ > Anuga-user mailing list > Anu...@li... > https://lists.sourceforge.net/lists/listinfo/anuga-user > |