[Scons-users] How do I compile F90?

Paweł Tomulik ptomulik at meil.pw.edu.pl
Fri Apr 10 05:53:41 EDT 2015


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


More information about the Scons-users mailing list