Quantcast
Viewing latest article 29
Browse Latest Browse All 35

Luca Marsella on "How can I check the commands and flags invoked by the compiler wrapper?"

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)
or
cc -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).


Viewing latest article 29
Browse Latest Browse All 35

Trending Articles