[mcstas-users] openmpi compilation problem
Emmanuel FARHI
farhi at ill.eu
Thu Jun 14 10:15:28 CEST 2012
Hi Jean-Francois,
to my knowledge, this is just a warning. The tar.gz configure; make;
make install should proceed OK still, and McStas should be able to find
MPI if 'mpicc' and 'mpirun' commands are available at the prompt.
OpenMPI seems OK on recent systems. It was less reliable than MPICH
until 2010-2011 (would stall for long simulations with e.g. ncount > 2e9).
Emmanuel.
On 06/13/2012 05:36 PM, Jean-Francois.Moulin at hzg.de wrote:
> Hi to all!
>
> new Linux distro, new problem! On Linux Mint 13 I do not manage to install due to mpi problems. As already suggested some months ago I installed openmpi (packages from Ubuntu repos: libopenmpi 1.4.3.2 and its dev).
> The ./configure tells me that :
> checking mpi.h presence... no
> checking for mpi.h... no
> WARNING: /usr/bin/mpicc may fail to compile without mpi.h
>
> but I find this on my system:
> ./usr/lib/openmpi/include/mpi.h
> After reading the output of configure -h, I tried
> ./configure -I/usr/lib/openmpi/include/:
> configure: error: unrecognized option: `-I'
> I tried putting this path in the cppflags envirt variable. To no avail.
> seems I miss the point.
> Since I get a Makefile I looked for an include section where I could manually put the path but that does not look so easy... (for me)
>
> second question I am on a 64 bit machine, I should thus configure --with-pic right?
>
> Thanks in advance for your help!
>
> Best
>
> Jean-Francois
>
>
> -
> Helmholtz Zentrum Geesthacht
> Institut für Werkstoffforschung
> Abteilung WPN, Instrument REFSANS
> Lichtenbergstr. 1
> 85747 Garching FRM II
> Tel.: +49 (0)89 289 10762
> Internet: http://www.frm2.tum.deHelmholtz-Zentrum Geesthacht
> Zentrum für Material- und Küstenforschung GmbH
> Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany
>
> Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
> Amtsgericht Lübeck HRB 285 GE (Register Court)
> Internet: http://www.hzg.de
> _______________________________________________
> mcstas-users mailing list
> mcstas-users at mcstas.org
> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
--
Emmanuel FARHI,www.ill.eu/computing/people/emmanuel-farhi \|/ ____ \|/
CS-Group ILL4/221, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~
6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\
Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06 \__U_/
More information about the mcstas-users
mailing list