close
ref:
http://surf.ap.seikei.ac.jp/~nakano/linux/FortLib-e.html
1. copy libslatec.a /usr/local/lib
2. g77 -o test test.o -L/usr/local/lib -lslatec
--------------------
ref:
http://www.nsc.liu.se/systems/cluster/green/
Dynamic linking(libslatec.so)
ifort -lslatec example.o -o example.executable
Static linking
ifort /usr/local/lib/libslatec.a example.o -o example
全站熱搜