taskManeage - Tasks: task #15344, wishlist: having a minimal demo...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #15344: wishlist: having a minimal demo project would be helpful for newbies

Submitter:  Boud Roukema <boud>
Submitted:  Mon 29 Jul 2019 12:05:39 AM UTC
   
 
Should Start On:  Sun 28 Jul 2019 12:00:00 AM UTC Should be Finished on:  Sun 28 Jul 2019 12:00:00 AM UTC
Category:  Analysis Priority:  5 - Normal
Status:  In Progress Privacy:  Public
Assigned to:  makhlaghi Percent Complete:  0%
Open/Closed:  Closed Effort:  0.00

Mon 29 Jul 2019 04:30:34 PM UTC, comment #5: 

Thanks for adding me! :)

Closed.

Boud Roukema <boud>
Group Member
Mon 29 Jul 2019 04:24:38 PM UTC, comment #4: 

Thanks a lot for the check, I am happy it finished.

But as you said, non-reproducible bugs are really annoying! Let's see when it will pop up again, and hope we are ready to catch it ;-).

By the way, I just added you as an official member of this project. So you should be able to close this task now.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Mon 29 Jul 2019 03:46:18 PM UTC, comment #3: 

Probably you would have to add me to the project team to
give me the access rights for closing this task. Right now I can't
find any obvious (or not so obvious) button.


Boud Roukema <boud>
Group Member
Mon 29 Jul 2019 03:43:49 PM UTC, comment #2: 

No, I didn't get those lines.

In the 33820ab commit I started from scratch again:


./configure --minmapsize=4000000000 --build-dir=/scratch/tmp_reproduce/ --jobs=1 2>&1 |tee log.1


This time I got


----------------
The project and its environment are configured with no errors.

Please run the following command to start.
(Replace '8' with the number of CPU threads)

    .local/bin/make -j8

To change the configuration later, please re-run './configure',
DO NOT manually edit the relevant files.



.local/bin/make -j1


This worked and produced a pdf file paper.pdf :).

So the paper is reproducible and my bug is irreproducible ;).

I don't see any reason to make the demo heavier - arguments for
changing the contents could be debated, but those should
be split up into individual issues and are not urgent.

So I'll close this task (if I can).

Boud Roukema <boud>
Group Member
Mon 29 Jul 2019 12:35:28 AM UTC, comment #1: 

Did the (old: commit 33820ab) configure script finish with the lines below?


----------------
The project and its environment are configured with no errors.

Please run the following command to start.
(Replace '8' with the number of CPU threads)

    .local/bin/make

To change the configuration later, please re-run './configure',
DO NOT manually edit the relevant files.


Just before printing these lines, it should have made a Makefile in the top project directory.

But since no Makefile is apparently created, then I guess the configure script must have crashed somewhere.

Can you run the `./configure' command again with `-e -j1' (to respectively use the previous directories and to only build on one thread). You can then more clearly see where it stops. It won't re-built something that has already been built, so it will automatically start very close to the problematic package. It would be great if you can send us the last lines as a bug report so we can fix the problematic issue for the future.

But getting back to the wishlist, this is a good point, thanks. So far, the pipeline does a very simple/basic analysis that you can see in reproduce/analysis/make/delete-me.mk: it will download a small FITS file, get its histogram and convert it to PDF to show in the template paper.

Once the `./configure' script finishes successfully (and you have a `Makefile' in the top directory), you can run `.local/bin/make' which will do this basic analysis and build a `paper.pdf'. You can see the PDF for commit ced465c here.

But generally, just yesterday a new `./project' wrapper script for the old `./configure', `.local/bin/make' and `./for-group' steps has been written to simplify the interface (and have better control over the environment). I recommend to pull this new commit and use that. It will not affect your existing built software, you can give it the same environment as before with these commands (after pulling to the most recent commit):


./project configure -e --host-cc -j1
./project make


Mohammad Akhlaghi <makhlaghi>
Group administrator
Mon 29 Jul 2019 12:05:39 AM UTC, original submission:  

As of commit 33820ab, there don't seem to be any dummy programmes,
only dummy LaTeX content. I had a successful configure (without
hacking /usr/lib64 - see  https://savannah.nongnu.org/bugs/?56691 -
so with my native version of gcc).

The command


.local/bin/make


rather unsurprisingly responded with


make: *** No targets specified and no makefile found.  Stop.


Wishlist: it would probably be good to have a dummy or demo program
available.


Boud Roukema <boud>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by boud (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-29 boud Open/ClosedOpen Closed
    2019-07-29 makhlaghi CategoryNone Analysis
        StatusNone In Progress
        Assigned toNone makhlaghi

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code