After you load all modules that you need, you can issue one of the following commands to have a list of the flags invoked by the appropriate compiler wrapper: cc -###
(or ftn
or CC
in place of cc
)
orcc -v
(or ftn
or CC
in place of cc
)
Depending on the Programming Environment that you have loaded, you might need to give a filename on the command line, however an empty foo.c
or foo.f90
or foo.C
will be enough (e.g.: Cray compiler requires a filename).
↧
Luca Marsella on "How can I check the commands and flags invoked by the compiler wrapper?"
↧