[SimGrid-user] [installation] Fortran support in SMPI

Augustin DEGOMME adegomme at gmail.com
Wed Nov 14 10:01:05 CET 2018


Hi,

Fortran should be activated by default if a compiler is found. Please check
that your system has either gfortran, ifort or flang installed.
It should be in the output of the cmake call, for example :

*21:28:14*         Compiler: Fortran ...........:
/opt/rh/devtoolset-7/root/usr/bin/gfortran (id: GNU)*21:28:14*
        version .............: 7.3.1

and then
*21:28:14*           Smpi fortran ..............: 1


Le mer. 14 nov. 2018 à 09:48, yao hu <huyao0107 at gmail.com> a écrit :

> Hi simgrid users,
>
> I encounter a new problem when installing simgrid3.21 from the source (in
> win10+ubuntu subsystem).
> I installed simgrid3.21 in /opt/simgrid/, but after installation* smpiff
> and smpif90* do not exist in the folder /opt/simgird/bin/ (though there
> are smpicc, smpixx,....)
>
> I make clean and cmake again, and it seems Fortran is not supported for
> SMPI. It still does not work after I modified the *src/internal_config.h*
> as follows.
>
> .......
> /* Fortran language is available for SMPI, and which one */
>    #define SMPI_FORTRAN 0 --> 1
>    #define SMPI_GFORTRAN 0 --> 1
> ......
>
> bin/ has smpiff but it still has problems:
> bin/smpiff: 204: bin/smpiff: -o.o: not found
>
> Then how do I enable Fortran for SMPI during the installation?
> Any help is appreciated!
>
>
>
> _______________________________________________
> Simgrid-user mailing list
> Simgrid-user at lists.gforge.inria.fr
> https://lists.gforge.inria.fr/mailman/listinfo/simgrid-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/simgrid-user/attachments/20181114/b78c5cf8/attachment-0001.html>


More information about the Simgrid-user mailing list