HISKP-LQCD / sLapH-projection-NG

2 stars 0 forks source link

Adjust paths for out-of-tree running #10

Closed martin-ueding closed 5 years ago

martin-ueding commented 5 years ago

The paths are currently a mess. I want to change them such that one can run the code outside of the source directory.

martin-ueding commented 5 years ago

At the moment I have the source directory and another directory where I run the comparison. There is a step where I have to manually copy job scripts and JSON output between the directories. I would instead like to have the paths in a way that all the generated files would neatly packed away.

The files that I have are these that are versioned in git:

Then these are generated:

In the repository I want to have the directories doc, R, Single-cover and Wolfram_Language, each containing their respective files. Everything else shall be done outside. It would be the easiest to have the working directory somewhere else and refer to the source files from there. This working directory currently is a flat mess. I would like to aim for the following directories in the work directory:

In principle this is not that hard, it just means that I have to adjust all the paths everywhere and do a few iterations until everything is done.

martin-ueding commented 5 years ago

I think I got it all down now, just need to document that.