Changeset 87fce00 in sasmodels
- Timestamp:
- Feb 18, 2015 3:18:00 AM (10 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 3271e20, c5b7d07, 3a45c2c
- Parents:
- c95dc908
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
compare.py
ra503bfd r87fce00 10 10 11 11 from sasmodels.bumps_model import BumpsModel, plot_data, tic 12 from sasmodels import kernelcl, kerneldll 12 try: from sasmodels import kernelcl 13 except: from sasmodels import kerneldll as kernelcl 14 from sasmodels import kerneldll 13 15 from sasmodels.convert import revert_model 14 16 -
sasmodels/kernelcl.py
r250fa25 r87fce00 30 30 try: 31 31 import pyopencl as cl 32 except ImportError,exc:32 except RuntimeError,exc: 33 33 warnings.warn(str(exc)) 34 34 raise RuntimeError("OpenCL not available") -
sasmodels/kerneldll.py
rf786ff3 r87fce00 23 23 # Can't find VCOMP90.DLL (don't know why), so remove openmp support from windows compiler build 24 24 #COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s" 25 COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /openmp /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s"26 #COMPILE = "gcc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm"25 #COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /openmp /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s" 26 COMPILE = "gcc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm" 27 27 else: 28 28 COMPILE = "cc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm"
Note: See TracChangeset
for help on using the changeset viewer.