szaghi / FoBiS

FoBiS.py, Fortran projects Building System for poor people
138 stars 35 forks source link

Compilation Issue with forbear library #126

Open brock-huffar opened 3 years ago

brock-huffar commented 3 years ago

Building src/lib/forbear.f90 Compiling src/third_party/FACE/src/lib/face.F90 src/lib/forbear_kinds.F90 using 2 concurrent processes Traceback (most recent call last): File "/usr/local/bin/FoBiS.py", line 4, in import('pkg_resources').run_script('FoBiS.py==2.9.3', 'FoBiS.py') File "/usr/local/lib/python3.9/site-packages/pkg_resources/init.py", line 651, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/local/lib/python3.9/site-packages/pkg_resources/init.py", line 1455, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/EGG-INFO/scripts/FoBiS.py", line 21, in File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/fobis/fobis.py", line 45, in main File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/fobis/fobis.py", line 71, in run_fobis File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/fobis/fobis.py", line 103, in run_fobis_build File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/fobis/fobis.py", line 316, in build_pfile File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/fobis/Builder.py", line 584, in build File "/usr/local/lib/python3.9/site-packages/FoBiS.py-2.9.3-py3.9.egg/fobis/Builder.py", line 488, in _compile File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 119, in Pool return Pool(processes, initializer, initargs, maxtasksperchild, File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 212, in init self._repopulate_pool() File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 303, in _repopulate_pool return self._repopulate_pool_static(self._ctx, self.Process, File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 326, in _repopulate_pool_static w.start() File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 284, in _Popen return Popen(process_obj) File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init super().init(process_obj) File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init self._launch(process_obj) File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch prep_data = spawn.get_preparation_data(process_obj._name) File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 183, in get_preparation_data main_mod_name = getattr(main_module.spec == None, "name", None) AttributeError: module 'main' has no attribute 'spec'

#

When I attempt to build a model using FoBiS I run into this error with the forbear library.