Fortran compiler optional?

SimTKcore exists as a separate project to provide 'one stop shopping' for SimTK Core software and support, although the software is actually developed as a set of interdependent projects. SimTK 1.0 was released in March 2008, SimTK 2.0 in December, 2009.
POST REPLY
User avatar
Ralf Grosse-Kunstleve
Posts: 5
Joined: Wed Jul 09, 2008 6:25 pm

Fortran compiler optional?

Post by Ralf Grosse-Kunstleve » Wed Jul 16, 2008 5:09 pm

In Simmatrix.pdf I found:

> The basic types, and general behavior, are modeled
> after the very successful Matlab system with the
> expectation (but not requirement) of LAPACK and BLAS
> style implementation.runtime.

Does it mean SimTK can be built without LAPACK sources?
Or more to the point: can SimTK be built without a Fortran
compiler?

Ralf

User avatar
Jack Middleton
Posts: 11
Joined: Thu Mar 31, 2005 11:55 am

RE: Fortran compiler optional?

Post by Jack Middleton » Thu Jul 17, 2008 9:36 am

You do not need a Fortran compiler to compile any of
the SimTK libraries except for SimTKlapack. We do
not recommend users try to recompile SimTKlapack
because it uses ATLAS for code generation and often
requires manual intervention to get the build to
succeed. People normally use our precompiled
SimTKlapack then build the other libraries themselves.

User avatar
Ralf Grosse-Kunstleve
Posts: 5
Joined: Wed Jul 09, 2008 6:25 pm

RE: Fortran compiler optional?

Post by Ralf Grosse-Kunstleve » Thu Jul 17, 2008 10:27 am

Thanks!
We have an automated multi-platform build+test system that builds everything from sources. Handling external binaries in this system will be a major contortion.
In our context, MD isn't the rate-limiting step. I'd be happy to "pay" with a runtime penalty for the ability to build everything from sources. How difficult would it be to replace the full-blown LAPACK+ATLAS implementations with more generic C or C++ code that can easily be built from sources?
Ralf

User avatar
Jack Middleton
Posts: 11
Joined: Thu Mar 31, 2005 11:55 am

RE: Fortran compiler optional?

Post by Jack Middleton » Thu Jul 17, 2008 1:05 pm

Basically your options are to get a Fortran compiler
and compile your own LAPACK or use a precompiled LAPACK compatible library. You could get the source
for LAPACK from netlib and compile your own library
and link the other libraries to it.

POST REPLY