Advertisements I’m unexperienced in Fortran. I’m trying to declare a memory pointer in a file named ‘common’, then allocate memory for that pointer in a file named "main.f", then call a subroutine from another file named "PrintArray.f". The whole thing seg faults in "PrintArray.f". How can I correct this? This is the file named ‘common’:… Read More Fortran: Pointers in Common Blocks
Advertisements I am totally new to the world of Makefiles. I tried to follow some tutorials to make my own makefile. In the examples that I found there was no treatment for a case including object files (.o) and shared libraries (.so). So, I tried to inspire but it seems that there is something missing… Read More How to make a Fortran Makefiles with object files (.o) and a share library (.so)?
Advertisements I am trying to install (with pip install) on a mac BigSur a python package that needs gfortran. The package was last updated in 2020. I initially did brew install gcc and that brought in gfortran, but my pip install failed with some fortran errors. My theory is that I need to revert to… Read More Installing older gcc, gfortran version on mac big sur