Getting Absoft’s Fortran to link to its own Blas

August 15, 2006

I just had an amazingly difficult time getting Absoft’s f90 compiler to link to the version of Blas that they distribute with the compiler. Here’s what I had to do:

1. I had to compile with the options -B108 -YEXT_NAMES=LCS. The former appends an underscore to the compiled object names, and the latter translates the object names into lowercase.

2. I then just linked as normal, with the Absoft blas, via -L/opt/absoft/lib -lblas

Waiting for gfortran to get stable with baited breath…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: