Can I get Gauss to work with my existing Fortran program?

Hi, is it possible to call Fortran .dll program through something like Gauss Engine so that I can have Gauss to work with my existing Fortran codes? Where should I start? Thanks.


1 Answer


You can call your Fortran functions from GAUSS using the dllcall function. It is fairly straightforward, you place the shared library in your GAUSSHOME/dlib directory, load the shared library with the dlibrary command and then you can call them with the dllcall prefix.

You can pass data easily back and forth between Fortran and GAUSS. The one limitation is that GAUSS can only pass data to compiled code as a double pointer. You can cast it to an integer or whatever internally, if you need to.

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy