[Scons-users] How do I compile F90?

罗飞 geoluo1217 at gmail.com
Fri Apr 10 06:00:17 EDT 2015


Dear Paweł Tomulik,
       you are right!
Thanks to Paweł Tomulik and Ian Ross's help!

2015-04-10 17:53 GMT+08:00 Paweł Tomulik <ptomulik at meil.pw.edu.pl>:

> W dniu 10.04.2015 o 11:42, 罗飞 pisze:
> > It is a SConscript.It is a module.In my SConstruct,I use
> > SConscript(dir/say.f90).
> > Perhaps, it is complex! So I write a simple one by your method.
> > ===========================================
> > SConstruct:
> >   1 import os
> >   2 env=Environment(TOOLS=['ifort'], ENV={'PATH': os.environ['PATH'] +
> > os.pathsep + '/home/apps/intel/composer_xe_2013_sp1.0.080/bin/intel64'})
>
> Try this:
>
> env = Environment()
> env.Tool('ifort')
> env.Program(...)
> ...
>
> or
>
> env = Environmtn(TOOLS = ['default', 'ifort'], ...)
> env.Program(...)
>
>
> Regards!
>
> --
> Pawel Tomulik
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150410/0e1f543b/attachment.html>


More information about the Scons-users mailing list