Elmer source code modification

General discussion about Elmer
Post Reply
asandip
Posts: 92
Joined: 09 May 2019, 22:06
Antispam: Yes

Elmer source code modification

Post by asandip »

I am looking to modify the Elmer source code. I had downloaded and installed Elmer 8.4 on my computer.

The src folder that is available on the Elmer Github page is not in my Elmer installation directory (only have bin, lib, redist, share and stripped_gfortran). How should I proceed?
raback
Site Admin
Posts: 4826
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Elmer source code modification

Post by raback »

Hi

If you want to compile single physical module under $ELMERSRC/fem/src/modules just say "elmerf90 -o MyModule.dll MyModule.F90". If you need to modify the library you have to compile everything. In Windows that is not that trivial.

Note if you modify the code AND distribute it you should release the modifications under same open source license. If you use the modifications just by yourself then there is no problem.

-Peter
Post Reply