Issue while generating diagrams

Asked by Sheikh Farah Tabira

Hello,

I am trying to generate all the possible diagrams for this process e+e- -> XX but whizard run appears to be stuck here,

 Reading model file '/usr/local/share/whizard/models/SM.mdl'
| Preloaded model: SM
| Process library 'default_lib': initialized
| Preloaded library: default_lib
| Reading model file '/usr/local/share/whizard/models/SM_hadrons.mdl'
| Reading commands from file 'EEXX.sin'
| Model: Generating model 'br25' from UFO sources
| Model: Searching for UFO sources in working directory
| Model: Found UFO sources for model 'br25'
UFO: warning: symbol 'VVS99' <> name 'VVSpp' in lorentz.py: while legal in UFO, it is unusual and can cause problems!
UFO.Lorentz: stripping unused structure ProjP(2,1)
| Model: Model file 'br25.ufo.mdl' generated
| Reading model file 'br25.ufo.mdl'
| Switching to model 'br25' (generated from UFO source)
sqrts = 1.000000000000E+03
br25.betaH => 1.471127670000E+00
br25.Ma => 3.250000000000E+02
?vis_diags = true
| Process library 'default_lib': recorded process 'eezh'
| Restoring model 'br25'
| Process library 'default_lib': compiling ...
| Process library 'default_lib': writing makefile
| Process library 'default_lib': writing driver
| Process library 'default_lib': compiling sources
  LATEX eexx_i1_diags.tex

I am not sure why this is happening. I have Metapost and the full MacTeX package installed.

Question information

Language:
English Edit question
Status:
Solved
For:
WHIZARD Edit question
Assignee:
Juergen Reuter Edit question
Solved by:
Juergen Reuter
Solved:
Last query:
Last reply:
Revision history for this message
Juergen Reuter (j.r.reuter) said :
#1

Hi Tabira,
very likely this is a problem with the UFO file, where either an invalid LaTeX code has been defined, or a definition has been used that is inconsistent with the use in WHIZARD. You can try to regenerate the PDF for the diagrams with the command
make -f default_lib.makefile diags.
The potential LaTeX error should be read off in the LaTeX log file eexx_i1_diags.log (in your case).
Cheers,
    JRR (Juergen)

Revision history for this message
Sheikh Farah Tabira (farahtabira) said :
#2

Thank you for your response. It still is not working.

make: *** [eezh_i1_diags.pdf] Error 1
| command: make compile -j1 -f default_lib.makefile
| Return code = 512
******************************************************************************
******************************************************************************
*** FATAL ERROR: System command returned with nonzero status code
******************************************************************************
******************************************************************************
WHIZARD run aborted.

I am sending the ufo and the sindarin script via e-mail, then it could be easier to locate the issue. Thanks a lot!

Revision history for this message
Juergen Reuter (j.r.reuter) said :
#3

Dear Tabira,
thanks for sending the UFO file via email. I cannot reproduce your problem. For me (also on a Macbook Pro with TeXLive 2023) the diagrams were produced without any problems. In order to find out what's going on, you'll need to post the error message from eexx_i1_diags.log here or send us this file via email.
Cheers,
    JRR

Revision history for this message
Best Juergen Reuter (j.r.reuter) said :
#4

Dear Tabira,
the log file you send shows the following:
(/opt/local/share/texmf-texlive/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
)
! LaTeX Error: File `pdftexcmds.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
X Error: File `infwarerr.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

So there are some LaTeX style files missing. The fact that your LaTeX is in /opt/local and not in /usr/local hints at that you used MacPorts to install it, and not MacTex. It seems there are some packages missing in your installation. I think you should definitely
install the two packages texlive-latex-recommended and texlive-latex-extra.
Best,
    JRR

Revision history for this message
Sheikh Farah Tabira (farahtabira) said :
#5

Thanks Juergen Reuter, that solved my question.