SoftwareCompilersLibraries Applications Tools & Utilities Software by PlatformFranklinSeaborg Bassi Jacquard DaVinci PDSF HPSS Affiliated CollectionsACTS Collection |
PGI C and C++ Compilers on FranklinThe Portland Group C and C++ compilers are available on Franklin. Users should call the Cray wrappers cc and CC directly for compilation on the compute nodes. We do not recommend directly calling pgcc and pgCC. ContentsInvoking the compilerFranklin has two kinds of nodes. The compute nodes run a limited functionality OS called Catamount and the service and login nodes run Linux. To compile code for the compute nodes use the Cray wrapper to the PGI compilers 'cc' and 'CC'. The most basic form being: franklin% cc source.c franklin% CC source.C Running either of these commands will produce an executable named a.out. Similar to most Unix compilers, the compilation process can be stopped before linking by using "-c", and specifying ".o" files on the command line will cause them to be linked: Source Files and language dialectsThe Portland Group compilers supports the following file extensions .c, .C, .cc, .cpp, .i OptimizationUsing the optimization flags when compiling with the Portland Group compilers can significantly increase the performance of your programs.
We recommend the following basic optimizations.
Related Information |
![]() |
Page last modified: Tue, 30 Oct 2007 20:43:54 GMT Page URL: http://www.nersc.gov/nusers/systems/franklin/software/CC.php Web contact: webmaster@nersc.gov Computing questions: consult@nersc.gov Privacy and Security Notice |
![]() |