Changeset f3f46cd in sasmodels
- Timestamp:
- Mar 26, 2015 4:07:14 PM (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:
- f224873
- Parents:
- 6ee9d39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
r2c801fe rf3f46cd 29 29 # TODO: remove intermediate OBJ file created in the directory 30 30 # TODO: maybe don't use randomized name for the c file 31 COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /openmp /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s"31 #COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /openmp /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s" 32 32 # Can't find VCOMP90.DLL (don't know why), so remove openmp support 33 33 # from windows compiler build 34 #COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s"34 COMPILE = "cl /nologo /Ox /MD /W3 /GS- /DNDEBUG /Tp%(source)s /link /DLL /INCREMENTAL:NO /MANIFEST /OUT:%(output)s" 35 35 else: 36 36 #COMPILE = "gcc -shared -fPIC -std=c99 -fopenmp -O2 -Wall %(source)s -o %(output)s -lm" … … 148 148 try: 149 149 self.dll = ct.CDLL(self.dllpath) 150 except WindowsError, exc: 151 # TODO: update annotate_exception so it can handle WindowsError 152 raise RuntimeError(str(exc)+" while loading "+self.dllpath) 150 153 except Exception, exc: 151 annotate_exception( "while loading "+self.dllpath)154 annotate_exception(exc, "while loading "+self.dllpath) 152 155 raise 153 156
Note: See TracChangeset
for help on using the changeset viewer.