- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a segment from a Makefile for fortran codes "LINKS = -L$(NETCDFLIB) -lnetcdf -llapack -lblas -lpgmp -lpthread", what does the "pgmp" stand for?
Zhang
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are looking at pgf90 options. You should translate the lapack, blas, and OpenMP options to those which are documented for the compiler you are using.
ifort -openmp supplies -liomp5 -lpthread automatically.
The lapack and blas options for Intel compilers are to be found by running the tool from the MKL forum page
ifort -openmp supplies -liomp5 -lpthread automatically.
The lapack and blas options for Intel compilers are to be found by running the tool from the MKL forum page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear tim18
My compiler is intel fortran.
You mean I need to install or compile an OpenMp as a subsititution of "pgmp" which is an pgf90 option?
"ifort -openmp supplies -liomp5 -lpthread automatically."??
How should I do it?
Thank you!
Zhang
My compiler is intel fortran.
You mean I need to install or compile an OpenMp as a subsititution of "pgmp" which is an pgf90 option?
"ifort -openmp supplies -liomp5 -lpthread automatically."??
How should I do it?
Thank you!
Zhang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where pgf90 uses -mp, ifort would use -openmp. Where pgf90 could use -lpgmp, ifort could use -liomp5, but it's usually better to use the -openmp option so that ifort itself chooses -liomp5 -lpthread.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page