Search found 3 matches
- Tue Jun 21, 2022 7:21 pm
- Forum: code_saturne usage
- Topic: CS ignores Fortran user coding files on macOS
- Replies: 3
- Views: 1999
Re: CS ignores Fortran user coding files on macOS
Hello Yvan, I think that it is the presence of this pragma directive that does the trick for C user routines. A test with some small code I wrote showed that this is the way for functions to be replaced reliably. I also had a look for something similar for Fortran but all I found was a feature reque...
- Sun Jun 19, 2022 12:07 pm
- Forum: code_saturne usage
- Topic: CS ignores Fortran user coding files on macOS
- Replies: 3
- Views: 1999
Re: CS ignores Fortran user coding files on macOS
There is an interesting article in
http://www.goldsborough.me/c/low-level/ ... ad-_trick/
which describes a method to override functions for any UNIX and macOS system reliably.
http://www.goldsborough.me/c/low-level/ ... ad-_trick/
which describes a method to override functions for any UNIX and macOS system reliably.
- Sat Jun 18, 2022 1:12 pm
- Forum: code_saturne usage
- Topic: CS ignores Fortran user coding files on macOS
- Replies: 3
- Views: 1999
CS ignores Fortran user coding files on macOS
I compiled code_saturne 7.1 on MacOS (Monterey, M1, gcc 11 from MacPorts) without any compilation errors. However, when I try to run a case which contains user coding files in Fortran I found out that they are ignored and the resulting code_saturne executable contains the empty user functions. Howev...