Friday, February 1, 2008

Linking [was: Away (Again)!]

Finally the COW code can be built using Pathscale, though it still encounters runtime crashes. Well, at least I can tick one field in my battle plan as both completed :-) and defeated :-(

The problem was solved by compiling the library in which the COW code depends to with a certain name-mangling convention. Basically, the functions name (in Fortran objects) must not be ended with double underscore.

And now, let's conclude the porting activities for this week; let the battle continue after the Lunar New Year.

Away (Again)!

In less than 6 hours I'll start my journey back to my hometown to celebrate the Lunar New Year. So what I'm doing in this hour? As usual, last minute express packing and making sure not to oversleep.

And who says coffee is needed to stay awake? The COW codes I've been porting is giving me all sort of trouble when linking Fortran objects (using Pathscale). And I have zero knowledge on Fortran! Okay, maybe 0.00000000001 since I managed to solve a compilation problem by commenting out two lines of "implicit none".

Come think about it: my cohorts who still stay in the IT field are "moving forward" with all sort of MVC or RDBMS mappers or whatever frameworks. Not to mention those who've attained "enlightenment". I, on the other hand, am "going backward" to Fortran.