Skip to content

Commit c6d66aa

Browse files
take out stupid pythia8 hack
1 parent 19678bf commit c6d66aa

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

ReleaseNotes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Release v3.1.1
22
=======================================================
33

4-
* fixed issues with xsecComputer on lxplus (thanks Jonas Wuerzinger)
4+
* fixed issues with fortran compilation of nllfast on lxplus (thanks Jonas
5+
Wuerzinger for reporting this)
56
* added filter for slogdet warnings (relevant on MacOS)
67
* Minor fixes in slha printer
78
* Bumped up pythia8 from 8315 to 8316

smodels/tools/pythia8Wrapper.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -176,19 +176,6 @@ def run( self, slhaFile: str, lhefile: Union[str,None]=None,
176176
:returns: List of cross sections
177177
178178
"""
179-
if True:
180-
## this has been introduced to fix a very sick error on lxplus
181-
## machines where fortran code cannot deal with slha file paths
182-
## that reside in /afs/cern.ch/work. God knows why.
183-
## there is already anyhow a temp directory, so it's no biggie,
184-
## but we could have this bit triggered only when a certain
185-
## condition is met, e.g. len(slhaFile)>min_length or
186-
## "cern.ch/work" in slhaFile or ...
187-
import tempfile
188-
tempf = tempfile.mktemp( dir=self.tempDirectory(),
189-
suffix=".slha",prefix="p8w_" )
190-
shutil.copyfile ( slhaFile, tempf )
191-
slhaFile = tempf
192179
if self.maycompile:
193180
self.checkInstallation( compile = True )
194181
# Change pythia configuration file, if defined:

0 commit comments

Comments
 (0)