This is an old revision of the document!


SEP report reproducibility test guideline

recent updates

Start from sep150, we introduced an independent test account 'rep' on SEP-owned servers, this account has all basic environment settings. In addition to testing with your own account, you must test your report using 'rep' account (following the guideline and items in the scoresheet) before you notify me for testing. This will greatly reduce my burden and make you appreciate my efforts a little more :) Unfortunately, due to the university's IT security regulation CEES computers, we cannot adopt this practice on CEES environment.

Requirement for repro test

If you have more complex reproducing strategies rather than typing make, then you need to include a readme file or put the instructions at the top of make file as comment.

The quality of reproducibility will be evaluated in five aspects:

1. All Code compiles on SEP computing environment

2. flow for CR figures is present in makefile

3. ER figures can be reproduced

4. Makefile is written in a clear/concise/neat manner

5. CR figures can be reproduced

All requirements except the last two are mandatory(everyone needs to pass in order to pass the test). Also we will check if proper reproducibility label are assigned to each figures.

In addition to that, you should also have the following

1. Have a backup folder for the figures in the paper (./Fig_bkup), this is for backup purpose, but also enables other user can compare the computation result with that in the paper.

2. Have your input/raw data files stored in a designated folder, not temporary scratch folder because they will be gone at some time, you have the following choices:

- If the file is small (let's say <10MB), and does not involve copyright issues, you can just put it in the report folder, using the out=stdout trick or store the .H@ file in the same folder with the .H file.

- If it comes from data in our data library(/data or /data1), then you are expected to write down the rules in your makefile that extracts the portion of the data you use from our data library.

- If the previous two options do not apply to your case, then you should put your data files in /data1/wrk/sep1XX/${your_paper_name}, remember again keep the binaries in the same folder.

makefile format

It is not rare that your makefile will have dozens of entries. We are not able to check all of these. Therefore, we require the makefile to have several common targets, i.e

1. make burn; burn all the figures in the paper.

2. make clean; burn all figures, and also clean the executables and the intermediate result file (.H).

3. make NR; build NR figures; (this could be a simple copy from a backup folder).

4. make ER; build ER figures

5. make CR; build CR figures

Again, you can back up your figures to a separate folder, but it is not OK to just copy them back to directory Fig in those figures making rules.

FAQs

1. What is the rule of thumb of choosing NR/ER/CR labels for a plot?

ER denotes Easily Reproducible and are the results of processing described in the paper. The author claims that you can reproduce such a figure from the programs, parameters, and makefiles included in the electronic document. The data must either be included in the electronic distribution, be easily available to all researchers (e.g., SEG-EAGE data sets), or be available in the SEP data library2. We assume you have a UNIX workstation with Fortran, Fortran90, C, C++, X-Windows system and the software downloadable from our website (SEP makerules, SEPlib, and the SEP latex package), or other free software such as SU. Before the publication of the electronic document, someone other than the author tests the author’s claim by destroying and rebuilding all ER figures. Some ER figures may not be reproducible by outsiders because they depend on data sets that are too large to distribute, or data that we do not have permission to redistribute but are in the SEP data library.

CR denotes Conditional Reproducibility. The author certifies that the commands are in place to reproduce the figure if certain resources are available. The primary reasons for the CR designation is that the processing requires 20 minutes or more, MPI or CUDA based code should be labeled CR.

NR denotes Non-Reproducible figures. SEP discourages authors from flagging their figures as NR except for figures that are used solely for motivation, comparison, or illustration of the theory, such as: artist drawings, scannings, or figures taken from SEP reports not by the authors or from non-SEP publications.

Please refer to the up-to-date instructions at vostok:/wrk/sep147/Adm/preface.tex

2. Do I need to include all the .H files I used in the figures in the local directory?

You are not forbidden from doing that just for backup purpose. However, your makefile flows for building these figures should start from the raw input data file, perform the computations and then generate the figures. The only exception is plotting the raw data, since no computation needs to be performed. Simply grabbing backed-up intermediate results (.H files) and plotting them is not considered a valid reproducible flow, unless it is NR.

3. My makefile rules take a long time to compute, how can I test them more efficiently?

Use the '-n' option in Make. This option allows the user to see all the commands that GNUmake would execute for this target, but without actually executing them. For example, to test target.H, enter make -n target.H rather than make target.H. The terminal will display the commands that would be run as well as report any mistakes you may have made, such as a filename typo in the dependency list.

Tips

1. put a dash '-' at the beginning of the command, if you want Make to ignore the encountered error and continue the flow. For eg. (remove the double quotes below)

buildx:

  "-" mkdir bin
  make bin/exe.x
/web/html/data/attic/wiki/reproguide.1399478793.txt.gz · Last modified: 2015/05/26 22:41 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0