You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there used to be (... a reflectivity slab model) as part of the very early suite of models though I think they have been removed.
Coincidentally, recently attempting to use the four layer neutron reflectivity model (http://marketplace.sasview.org/models/89/) from the Marketplace, the FitPage populates with the model but Compute generates a very ugly error and nothing happens:
10:33:40 - INFO: --- SasView session started, version 5.0.5, 2022 ---
10:33:40 - INFO: Python: 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
10:34:22 - INFO: C:\SasView-5.0.5\tinycc-data\tcc.exe -shared -rdynamic -Wall C:\Users\zzzzz\AppData\Local\Temp\sas64_multi_reflec_212DEEA3_794x270i.c -o C:\Users\zzzzz\.sasview\compiled_models\sas64_multi_reflec_212DEEA3.so
10:34:25 - INFO: C:\SasView-5.0.5\tinycc-data\tcc.exe -shared -rdynamic -Wall C:\Users\zzzzz\AppData\Local\Temp\sas64_multi_reflec_212DEEA3_f7ou8t8w.c -o C:\Users\zzzzz\.sasview\compiled_models\sas64_multi_reflec_212DEEA3.so
10:34:25 - ERROR: Traceback (most recent call last):
File "sasmodels\kerneldll.py", line 198, in compile_model
subprocess.check_output(command, shell=shell, stderr=subprocess.STDOUT)
File "subprocess.py", line 415, in check_output
File "subprocess.py", line 516, in run
subprocess.CalledProcessError: Command '['C:\\SasView-5.0.5\\tinycc-data\\tcc.exe', '-shared', '-rdynamic', '-Wall', 'C:\\Users\\zzzzz\\AppData\\Local\\Temp\\sas64_multi_reflec_212DEEA3_794x270i.c', '-o', 'C:\\Users\\zzzzz\\.sasview\\compiled_models\\sas64_multi_reflec_212DEEA3.so']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "sas\sascalc\data_util\calcthread.py", line 269, in _run
File "sas\qtgui\Perspectives\Fitting\ModelThread.py", line 203, in compute
File "sasmodels\sasview_model.py", line 713, in calculate_Iq
return self._calculate_Iq(qx, qy)
File "sasmodels\sasview_model.py", line 721, in _calculate_Iq
self.__class__._model = core.build_model(self._model_info)
File "sasmodels\core.py", line 339, in build_model
return kerneldll.load_dll(source['dll'], model_info, numpy_dtype)
File "sasmodels\kerneldll.py", line 301, in load_dll
filename = make_dll(source, model_info, dtype=dtype)
File "sasmodels\kerneldll.py", line 278, in make_dll
compile_model(source=filename, output=dll)
File "sasmodels\kerneldll.py", line 201, in compile_model
raise RuntimeError("compile failed.\n%s\n%s"%(command_str, output))
RuntimeError: compile failed.
C:\SasView-5.0.5\tinycc-data\tcc.exe -shared -rdynamic -Wall C:\Users\zzzzz\AppData\Local\Temp\sas64_multi_reflec_212DEEA3_794x270i.c -o C:\Users\zzzzz\.sasview\compiled_models\sas64_multi_reflec_212DEEA3.so
C:/Users/zzzzz/.sasview/plugin_models/multi_reflec.c:10: error: ';' expected (got "cfloat")
10:34:25 - ERROR: Traceback (most recent call last):
File "sasmodels\kerneldll.py", line 198, in compile_model
subprocess.check_output(command, shell=shell, stderr=subprocess.STDOUT)
File "subprocess.py", line 415, in check_output
File "subprocess.py", line 516, in run
subprocess.CalledProcessError: Command '['C:\\SasView-5.0.5\\tinycc-data\\tcc.exe', '-shared', '-rdynamic', '-Wall', 'C:\\Users\\zzzzz\\AppData\\Local\\Temp\\sas64_multi_reflec_212DEEA3_f7ou8t8w.c', '-o', 'C:\\Users\\zzzzz\\.sasview\\compiled_models\\sas64_multi_reflec_212DEEA3.so']' returned non-zero exit status 1.
This model was uploaded in Dec 2017 when the current release was 4.1.2, but that throws the same 'cfloat' error.
The text was updated successfully, but these errors were encountered:
Not sure if this issue should go here or against sasmodels?
Running 5.0.5 release on W10/x64.
In SasView/sasview#1498 (comment) @Butler commented:
Coincidentally, recently attempting to use the four layer neutron reflectivity model (http://marketplace.sasview.org/models/89/) from the Marketplace, the FitPage populates with the model but Compute generates a very ugly error and nothing happens:
This model was uploaded in Dec 2017 when the current release was 4.1.2, but that throws the same 'cfloat' error.
The text was updated successfully, but these errors were encountered: