[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help! Installing PETSc?



Hello,
 
I am trying to install PETSc on one of the workstations in my university. I use the following commands for configuration:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

config/configure.py \

--with-cc=mpicc \

--with-fc=mpif90 \

--with-mpi-dir=/opt/hpmpi/lib/linux_amd64/ \

--with-mpi-shared=yes \

LIBS=-lpgf90rtl \

--with-debugging=yes \

--with-superlu=yes \

--with-superlu-dir=/usr/apps/src/superlu/SuperLU_3.0 \

--download-superlu=no \

--with-superlu_dist=yes \

--with-superlu_dist-dir=/usr/apps/src/superlu/SuperLU_DIST_2.0 \

--download-superlu_dist=no \

--with-batch

After this I got a message saying that:

Since your compute nodes require use of a batch system or mpirun you must:

1) Submit ./conftest to 1 processor of your batch system or system you are

  cross-compiling for; this will generate the file reconfigure

 2) Run "python reconfigure" (to complete the configure process).

So I tyoed:

mpirun -np 1 conftest

and got the following error message:

*************************************************************

mpid: MPI BUG: execvp failed: Cannot execute conftest: No such file or directory

MPI Application rank 0 exited before MPI_Init() with status 1

**************************************************************

I found that there is only conftest.o !

Can anybody help me?

Thanks a lot.

 

 



--
Yours truly,

Bin Xu