c++ - Moving around the lblas library and using it with the g++ compiler -


so on current computer have library use blas functions, need run c++ program on external server. know how transfer files server, i'm having trouble figuring out how find blas library that's on current computer , how link compiler.

so here's command use current on computer g++ program -lblas , works great. run program , swell. how move library external server?

ideally, i'd move library same folder program resides , link compiler library somehow. know how this?

if helps, know how download blas library , ".a" file out. have no idea there though.

never mind, simple question. thought lot more complicated.

for stumbles upon this, here's do:

get .a file. me, downloaded makefile components necessary make .a file here blas: http://www.netlib.org/blas/

next, put in same folder program if want i'm doing.

finally, command! compiler, code, library

for me, g++ program.cpp blas.a


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -