Re: mpi_Init

2021-09-20 Thread George N. White III
On Sun, 19 Sept 2021 at 15:33, Patrick Dupre wrote: > Hello, > > I installed mpich > and set the path to > /usr/lib64/mpich/bin > however, it seems that I need > MPI_init > > Checking if MPI is available > checking for mpif90... mpif90 > checking for MPI_Init

Re: mpi_Init

2021-09-19 Thread Jonathan Billings
On Sun, Sep 19, 2021 at 10:53:10PM +0200, Patrick Dupre wrote: > OK > > Very good. > > But I get > > from process 0 out of 1 on Teucidide > > with MPI_Comm_size(MPI_COMM_WORLD, &numprocs); > > How can I set numprocs to 2 for example? That's between you and your compiler. I think MPI support

Re: mpi_Init

2021-09-19 Thread Patrick Dupre
0:35 PM > From: "Jonathan Billings" > To: users@lists.fedoraproject.org > Subject: Re: mpi_Init > > On Sun, Sep 19, 2021 at 08:33:21PM +0200, Patrick Dupre wrote: > > Hello, > > > > I installed mpich > > and set the path to > > /usr/

Re: mpi_Init

2021-09-19 Thread Jonathan Billings
On Sun, Sep 19, 2021 at 10:42:43PM +0200, Patrick Dupre wrote: > Actually MPI_Init is in > openmpi-devel > but I add to make the path > PATH=/usr/lib64/openmpi/bin:$PATH > for mpicc > which is bizare. > > Furthermore, I tried man mpicc > > /usr/share/man/mpich-x86_6

Re: mpi_Init

2021-09-19 Thread Patrick Dupre
Actually MPI_Init is in openmpi-devel but I add to make the path PATH=/usr/lib64/openmpi/bin:$PATH for mpicc which is bizare. Furthermore, I tried man mpicc /usr/share/man/mpich-x86_64/man1/mpicc.1.gz /usr/share/man/openmpi-x86_64/man1/mpicc.1.gz But it does not work

Re: mpi_Init

2021-09-19 Thread Jonathan Billings
On Sun, Sep 19, 2021 at 04:35:14PM -0400, Jonathan Billings wrote: > ... before compiling. That loads the mpich environment module, which > defines a bunch of environment modules. Er... I mean it defines a bunch of environment *variables*. > setenvMPI_PYTHON_SITEARCH %{python2_sitear

Re: mpi_Init

2021-09-19 Thread Jonathan Billings
On Sun, Sep 19, 2021 at 08:33:21PM +0200, Patrick Dupre wrote: > Hello, > > I installed mpich > and set the path to > /usr/lib64/mpich/bin > however, it seems that I need > MPI_init > > Checking if MPI is available > checking for mpif90... mpif90 > checking

Re: mpi_Init

2021-09-19 Thread Samuel Sieb
On 2021-09-19 11:33 a.m., Patrick Dupre wrote: Hello, I installed mpich and set the path to /usr/lib64/mpich/bin however, it seems that I need MPI_init Checking if MPI is available checking for mpif90... mpif90 checking for MPI_Init... no checking for MPI_Init in -lmpi... no checking for

mpi_Init

2021-09-19 Thread Patrick Dupre
Hello, I installed mpich and set the path to /usr/lib64/mpich/bin however, it seems that I need MPI_init Checking if MPI is available checking for mpif90... mpif90 checking for MPI_Init... no checking for MPI_Init in -lmpi... no checking for MPI_Init in -lmpich... no configure: error: MPI not