- General information
- Data readiness
- Grid
- Infrastructure
- Online Computing
- Software Infrastructure
- Batch system, resource management system
- Computing Environment
- Facility Access
- HPSS services
- Hypernews
- Installing the STAR software stack
- IO performance page
- RCF Contributions
- Software and Libraries
- Storage
- Tutorials
- Web Access
- Offline Software
- Production
How to use the fortran from the ROOT macro
Submitted by fine on Mon, 2008-06-09 14:21.
Under:
Conditions:To use the Fortran subroutines and functions 3 pre-conditions have to be met:
- Fortran code has to be compiled with the Fortran compiler
It is provided by "cons" for all source files with the upper case "*.F" extension
- To call any Fortran Subroutine / Function from C/C++ the Fortran subroutine interface definition has to be provided
It has to be written "by hand"
- To execute the the Fortran Subroutines /Functions the Fortran run-time environment may be needed at the run-time.
The Fortran Run-time libraries are provided by "root4star". They are not provided by the "plain" root.exe
The examples follow:
