Yellow Dog Solutions


TOPIC: Absoft's Fortran Pro with YDL v4.0



An avid Yellow Dog Linux user Rob offers, "... might be worth posting on the YDL pages somewhere. The stock 4.0 build of YDL had problems with the Absoft 8.2 fortran packages if you are using a mix of static archives, dynamically linked libraries, and dynamically loadable modules. I worked with Scott Campbell from Absoft (thanks Scott!) to resolve it, he sent me some new Absoft libraries, and said that I should let folks know about it.

The problem is that the libraries distributed with the Absoft 8.2 package are not build with position independent code. Straight builds work fine, but our project used a mix of static archive files, dynamically linked libraries, and dynamically loadable modules. By straight builds I mean fortran code where the object code is linked directly with the library code producing an executable (f77 *.for -o
With YDL3.x, things worked fine, but they broke with 4.0. The solution (from Absoft) was new dynamically linked libraries to replace the ones sent with the 8.2 release. The libV77.a and libU77.a libraries have their source code shipped with the 8.2 release, and I remade them after modifying the Makefiles to have the -fpic (fortran) and -fPIC (c) switches and being made as .so's. I moved them into the same directory as the new libraries from Absoft, and now link against this directory. I've had no problems with either straight 4.0 or 64bit 4.0 since.

This HOWTO was created by Rob Sanders, Zeta Associates Inc.



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation