Replies: 2 comments 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
-
Welcome Evan @ejovo13 and thanks for your interest in fpm. I'm unsure why in your case there are no Great to hear that you're interested in contributing! If you haven't already, you can have a read through the developer documentation here to learn more about how fpm works inside. Do feel free to ask us more questions, we're happy to help you get to know fpm and start contributing! fpm_mod_demo-2021-05-01_11.09.15.mp4 |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I've been interested in Fortran recently and this repository seems like a cool place to be able to contribute to. I've been playing around with fpm to get a feel for how it works and I had a question about the creation of mod files. Using the default project that is created automatically, I noticed that after a call to fpm build the following command is printed to the screen:
+ gfortran -c ././src/test2.f90 -Wall -Wextra -Wimplicit-interface -fPIC -fmax-errors=1 -g -fcheck=bounds -fcheck=array-temps -fbacktrace -fcoarray=single -J build/gfortran_2A42023B310FA28D/test2 -I build/gfortran_2A42023B310FA28D/test2 -o build/gfortran_2A42023B310FA28D/test2/src_test2.f90.o
The switch -J indicates that .mod files should be outputted to the build/gfortran_2A42023B310FA28D/test2 directory, but in fact there are no .mod files. I was wondering, then, how the main.f90 (under app dir) is able to access the module's interface. Are the .mod files created, and then wiped after linking? When I copy and paste that command manually, the test2.mod file appears (as expected) in the -J directory. Another side question that I have is: What is the purpose of the .digest files?
Beta Was this translation helpful? Give feedback.
All reactions