fortran call from perl

Patrick Dupre patrick.dupre at york.ac.uk
Sun May 1 21:22:32 UTC 2011


Hello,

Is perl able to link a fortran subroutine ?

I have no problem to make ma c code callable by gcc (xs)
I can call a fortran routine from a c program.
But perl fails to load a so library linked with a piece of fortran.

The erreur is:
  cannot restore segment prot after reloc: Permission denied at 
/usr/lib/perl5/DynaLoader.pm line 200.


Is there any solution ?
Linker options ?

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
  The University of York             |   |  Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |  email: patrick.dupre at york.ac.uk
==========================================================================


More information about the users mailing list