Troubleshooting MC

This page lists the most common problems encoutered with the NA62 MC code, along with more or less general solutions.

Code compilation

Shared object portability issue. In Generator/GNUmakefile and Beam/GNUmakefile, define a new variable CMCLIBNAME, just above the existing CMCLIB definition:

and then the target:
Generator: $(CMCLIB)

       $(FC) -shared -Wl,-soname,$(CMCLIBNAME) -o $(CMCLIB) $^
This way the .so is linked w/o the full path, which ensures portability of the executable.
Edit | Attach | Watch | Print version | History: r9 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-05-08 - DanProtopopescu
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback