Returns True if g77 ABI wrapper must be used.
Returns file names of source files containing Fortran ABI wrapper routines.
Returns True if SGEMV must be fixed.
Returns source file needed to correct SGEMV
Split each file in source_dir into separate files per subroutine.
- source_dir : str
- Full path to directory in which sources to be split are located.
- subroutines : list of str, optional
- Subroutines to split. (Default: all)
- fnames : list of str
- List of file names (not including any path) that were created in source_dir.
This function is useful for code that can’t be compiled with g77 because of type casting errors which do work with gfortran.
Created files are named:
original_name + '_subr_i' + '.f', with
istarting at zero and ending at
num_subroutines_in_file - 1.