[mpich-discuss] Problem using selection pm slurm

chan at mcs.anl.gov chan at mcs.anl.gov
Mon Jun 7 11:26:26 CDT 2010


Your c.txt shows that you configured mpich2 with these options:

'--prefix=/home/fernando_luz/mpich2-install' 'CC=/opt/software/intel/Compiler/11.1/059/bin/intel64/icc'
'--host' '--disable-f90' '--enable-cxx' '--with-pm=no' 
'--with-pmi=slurm' '--with-slurm=/opt/software/slurm' 'host_alias=--disable-f90'

Notice you had '--host' and 'host_alias=--disable-f90' which causes
configure to do cross-compilation.  I think it is probably a typo
somewhere in your configure comamnd, remove "--host" and "host_alias="
but keep --disable-f90.

A.Chan

----- "Fernando Luz" <fernando_luz at tpn.usp.br> wrote:

> Hi people,
> 
> I try configure mpich2 using the follow options 
> 
> ./configure --prefix=/home/fernando_luz/mpich2-install
> CC=/opt/software/intel/Compiler/11.1/059/bin/intel64/icc
> --disable-f90
> --enable-cxx --with-pm=no --with-pmi=slurm
> --with-slurm=/opt/software/slurm  2>&1 | tee c.txt
> 
> And I obtain the follow error message
> 
> checking whether the C compiler works... configure: error: in
> `/home/fernando_luz/software/mpich2-1.2.1p1/src/mpe2':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> configure: error: Configure of src/mpe2 failed!
> 
> Using --host option I received
> 
> checking host system type... configure:
> error: /bin/sh ./../../config.sub --disable-f90 failed
> configure: WARNING: cache variable ac_cv_host contains a newline
> configure: error: ./configure failed for src/misc
> configure: error: Configure of src/mpe2 failed!
> 
> Without the slurm option, I dont have any problems to configure
> mpich2.
> I attached the c.txt and config.log.
> 
> Thanks in advanced
> 
> Fernando Luz
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list