How to use the ACML-library
- Go to the directory where you have your source code.
- Make a symbolic link to the g2c-library,
e.g.: ln -s
/usr/lib/libg2c.so.0.0.0 libg2c.so (This is done once.) If there
is a newer libg2c, use
that instead. The reason for the link is that ld cannot find the
library since its name does not end in .so (but in ends in so.0.0.0).
- Make sure your LD_LIBRARY_PATH
contains /chalmers/sw/sup/matlab-2006b/bin/glnx86
- Compile using a suitable compiler, e.g. g95 -m32 my_prog.f -L/chalmers/sw/sup/matlab-2006b/bin/glnx86 -lacml -L. -lg2c
- Execute.