Whizard is not relocatable

Bug #1861889 reported by Ivan Razumov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WHIZARD
Opinion
Wishlist
WHIZARDs

Bug Description

Whizard "remembers" installation directory (i.e. path to models and path to it's libraries/binaries), thus it is impossible to move it's installation.

Revision history for this message
Wolfgang Kilian (whkilian) wrote :

Hi Ivan,

could you elaborate what you have in mind?

Yes, the installed version of the program takes note of the installation directories and uses them for searching its auxiliary files. Nevertheless, the executable has a couple of option that can be used to reset those paths at runtime (whizard --help, look for options such as --prefix). There hasn't be a strong demand for relocation options yet, so the existing ones may or may not suit your needs.

-- Wolfgang

Revision history for this message
Ivan Razumov (iarspider) wrote :

Hi Wolfgang,

thank you for the reply - I didn't know about these options. However, they doesn't seem to work:
```
$ whizard --bindir /cvmfs/sft.cern.ch/lcg/releases/LCG_96b/MCGenerators/whizard/2.8.2/x86_64-centos7-gcc8-opt/bin Zmumu.sln
(...)
| Process library 'default_lib': creating source code
  RM zmumu_i1.f90,.mod,.lo
  OMEGA zmumu_i1.f90
make: /build/jenkins/whizard/install/MCGenerators/whizard/2.8.2/x86_64-centos7-gcc8-opt/bin/omega_SM.opt: Command not found
make: *** [zmumu_i1.f90] Error 127
| command: make source -j1 -f default_lib.makefile

$ whizard --prefix /cvmfs/sft.cern.ch/lcg/releases/LCG_96b/MCGenerators/whizard/2.8.2/x86_64-centos7-gcc8-opt Zmumu.sln
(...)
| Process library 'default_lib': creating source code
  RM zmumu_i1.f90,.mod,.lo
  OMEGA zmumu_i1.f90
make: /build/jenkins/whizard/install/MCGenerators/whizard/2.8.2/x86_64-centos7-gcc8-opt/bin/omega_SM.opt: Command not found
make: *** [zmumu_i1.f90] Error 127
| command: make source -j1 -f default_lib.makefile
| Return code = 512

$ whizard --exec-prefix /cvmfs/sft.cern.ch/lcg/releases/LCG_96b/MCGenerators/whizard/2.8.2/x86_64-centos7-gcc8-opt/bin Zmumu.sln
(...)
| Process library 'default_lib': creating source code
  RM zmumu_i1.f90,.mod,.lo
  OMEGA zmumu_i1.f90
make: /build/jenkins/whizard/install/MCGenerators/whizard/2.8.2/x86_64-centos7-gcc8-opt/bin/omega_SM.opt: Command not found
make: *** [zmumu_i1.f90] Error 127
| command: make source -j1 -f default_lib.makefile
| Return code = 512

```

Revision history for this message
Ivan Razumov (iarspider) wrote :

It would be great if Whizard used it's own whizard-config script (which is easier to relocate) or, alternatively, environment variable (e.g. WHIZARD_HOME) to locate it's installation root.

Revision history for this message
Ivan Razumov (iarspider) wrote :

(in the log above, path starting with /cvmfs is actual install dir, with /build - temporary location used to build Whizard)

Revision history for this message
Wolfgang Kilian (whkilian) wrote :

Thanks for the additional information.

We'll have a look. As I said, that feature has not been requested or used for a rather long time, so something could be broken.

Revision history for this message
Juergen Reuter (j.r.reuter) wrote :

We discussed this in our latest meeting, and decided that providing infrastructure for this is not worth the effort. Modern computer systems are either single machines or clusters with centrally based installations.

Changed in whizard:
status: New → Opinion
assignee: nobody → WHIZARDs (whizards)
importance: Undecided → Low
importance: Low → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.