Hi folks, I tried to compile OpenMPI using the PortzlandGroup compiler Suite, but the configure-script tells me, my fortran compiler cannot compile .f or .f90 files. I'm sure it can ;-)
well I think I have to set samespecial flags but I don't have an idea which ones :-( Perhaps somebody has done it and can tell me? I'm running debian/Sarge with PGI 6.0 the use of ./configure looks like (it's part of a bash-script): ===========/ snip /=========== #! /bin/bash export PREFIX=/opt/OpenMPI-1.0.1/GM-STATIC/pgi60 export GM_HOME=/opt/gm export CFLAGS="-O3 -tp k8-64" export CC=/opt/pgi/linux86-64/6.0/bin/pgcc export CXX=/opt/pgi/linux86-64/6.0/bin/pgCC export FC=/opt/pgi/linux86-64/6.0/bin/pgf77 export F90=/opt/pgi/linux86-64/6.0/bin/pgf95 export RSHCOMMAND=rsh export FCFLAGS=$CFLAGS export F90FLAGS=$CFLAGS export CXXFLAGS=$CFLAGS # configure rm -f log/config-mine.pgi.GM-STATIC.log ./configure --prefix=$PREFIX --with-gm=$GM_HOME --without-threads \ --enable-static --disable-shared >& log/config-mine.pgi.GM-STATIC.log ===========/ snap /=========== the error I get is this: ===========/ snip /=========== *** Fortran 90/95 compiler checking whether we are using the GNU Fortran compiler... no checking whether /opt/pgi/linux86-64/6.0/bin/pgf77 accepts -g... yes checking for Fortran flag to compile .f files... none checking for Fortran flag to compile .f90 files... unknown configure: error: Fortran could not compile .f90 files ===========/ snap /=========== I also replaced pgf77 by pgf95 for FC, but without improvement: ===========/ snip /=========== *** Fortran 90/95 compiler checking whether we are using the GNU Fortran compiler... no checking whether /opt/pgi/linux86-64/6.0/bin/pgf95 accepts -g... yes checking for Fortran flag to compile .f files... none checking for Fortran flag to compile .f90 files... none checking for Fortran flag to compile .f95 files... none checking whether g77 and /opt/pgi/linux86-64/6.0/bin/pgf95 compilers are compatible... no configure: WARNING: *** Fortran 77 and Fortran 90 compilers are not link compatible configure: WARNING: *** Disabling Fortran 90/95 bindings ===========/ snap /=========== Thanks & best regards, Bjørn PS: Full Script and Logfiles can be found at http://www-public.tu-bs.de:8080/~nachtwey/OpenMPI/ ################################################################### Dipl.-Ing. Bjørn Nachtwey Technische Universität Carolo Wilhelmina zu Braunschweig Institut für Computeranwendungen im Bauingenieurwesen (CAB) Pockelsstraße 3 (Okerhochhaus, 9. Obergeschoss) 38106 Braunschweig Telephon: +49 (0)531 / 391 - 7589 TeleFax: +49 (0)531 / 391 - 7599 http://www.cab.bau.tu-bs.de/ mailto:b.nacht...@tu-bs.de PGP-Fingerprint: B472 526A A903 4AEB 9269 EC0B 9CDE 7465 CE87 ###################################################################