fire2a / C2F-W

Joint version of Cell2Fire, beta version with S&B and Kitral
GNU General Public License v3.0
2 stars 1 forks source link

c2f: macos-latest build --static #21

Closed fdobad closed 2 weeks ago

fdobad commented 8 months ago

qgis en x86_64 no funciona, a menos que el usuario tenga brew y developertools instaladas.

es posible que compilando con banderitas static para openmp se solucione, algo asi https://github.com/rcedgar/muscle/issues/21

fdo@iMac-de-Jacqueline Cell2FireC % /Applications/QGIS-LTR.app/Contents/MacOS/bin/python3 cell2fire.py --final-grid --output-messages --out-ros --sim C --nsims 2 --seed 123 --nthreads 5 --fmc 66 --scenario 2 --weather rows --input-instance-folder /Users/fdo/Downloads/C2F-W-main/data/400cellsC1/firesim_231221_180103 --output-folder /Users/fdo/Downloads/C2F-W-main/data/400cellsC1/firesim_231221_180103/results 
C2Fcmd: /Users/fdo/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/fireanalyticstoolbox/simulator/C2F/Cell2FireC/Cell2Fire.Darwin.x86_64 --input-instance-folder /Users/fdo/Downloads/C2F-W-main/data/400cellsC1/firesim_231221_180103 --output-folder /Users/fdo/Downloads/C2F-W-main/data/400cellsC1/firesim_231221_180103/results  --sim C --sim-years 1 --nsims 2 --nthreads 5  --final-grid --Fire-Period-Length 1.0 --output-messages   --out-ros   --weather rows   --ROS-CV 0.0 --IgnitionRad 0 --seed 123 --ROS-Threshold 0.1 --HFI-Threshold 0.1  --FirebreakCells   --ROS10Factor 3.34 --CCFFactor 0.0 --CBDFactor 0.0 --HFactor 1.0 --FFactor 1.0 --BFactor 1.0 --EFactor 1.0
Calling Cell2Fire simulator...
dyld[1203]: Library not loaded: /usr/local/opt/gcc@12/lib/gcc/12/libgomp.1.dylib
  Referenced from: <3D9CB47D-7A40-3E6A-8FB3-B670AAF1D164> /Users/fdo/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/fireanalyticstoolbox/simulator/C2F/Cell2FireC/Cell2Fire.Darwin.x86_64
  Reason: tried: '/usr/local/opt/gcc@12/lib/gcc/12/libgomp.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc@12/lib/gcc/12/libgomp.1.dylib' (no such file), '/usr/local/opt/gcc@12/lib/gcc/12/libgomp.1.dylib' (no such file), '/usr/local/lib/libgomp.1.dylib' (no such file), '/usr/lib/libgomp.1.dylib' (no such file, not in dyld cache)
Cell2Fire simulator finished.

fdo@iMac-de-Jacqueline Cell2FireC % gcc -V
xcode-select: note: No developer tools were found, requesting install.
If developer tools are located at a non-default location on disk, use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog.
See `man xcode-select` for more details.
fdo@iMac-de-Jacqueline Cell2FireC % which gcc
/usr/bin/gcc
fdobad commented 8 months ago

@lucasmurray97 hola ves esto?