Menu ▾ ▴

#7 Make file fails with new 'myownmagnetic field' options

v1.0_(example)
open
None
5
2020-04-12
2018-07-31
No

mv: cannot stat './source/myOwnMagField.f': No such file or directory
mv: cannot stat './src_desp/myOwnMagField
.f': No such file or directory
make: *** [myOwnMagField1] Error 1

Deleting those lines in the Makefile, get's around this error.

Discussion

  • Adam Kellerman

    Adam Kellerman - 2018-07-31

    Correction: Not deleting the line, but removing the 'myOwnMagField' commands on line 359 of the Makefile - so that it reads "all.build: version.fortran ntime_max compile_irbem" - get's around the error.

     
  • Adam Kellerman

    Adam Kellerman - 2018-07-31

    When calling the code, I get the following error "undefined symbol: myownmagfield_init", So I guess we are missing a file?

     
  • AaronH

    AaronH - 2020-04-12

    For anyone else running into this error, the following will work around the error that Adam mentioned in the previous post without explicitly providing a myownfield_init function:

    In the file source/init_nouveau.f, comment out line 58,
    In the file source/onera_desp_lib.f, comment out lines 1267 and 1284
    Remake the library.

    As long as you don't use the "own field" functionality, the library should work without issue now.

     

Log in to post a comment.