taskGNU Astronomy Utilities - Tasks: task #15730, Installed scripts with Makefiles...

 
 

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

task #15730: Installed scripts with Makefiles for parallel operations

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sat 18 Jul 2020 03:37:43 PM UTC
   
 
Should Start On:  Fri 17 Jul 2020 11:00:00 PM UTC Should be Finished on:  Fri 17 Jul 2020 11:00:00 PM UTC
Category:  New program Priority:  5 - Normal
Item Group:  New feature Status:  None
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Sat 18 Jul 2020 03:43:03 PM UTC, comment #1: 

One small technicality will be using portable Make in the Makefiles. Because some systems may not have GNU Make.

But if the Makefiles use GNU Make specific features, we can add checks in Gnuastro's configuration step for the running Make version. If the host doesn't have any GNU Make, those Makefiles can be disabled (with a warning at the end of the configuration).

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sat 18 Jul 2020 03:37:43 PM UTC, original submission:  

We have recently started installing executables with Gnuastro's programs that are actually scripts (described in the Installed scripts section of the manual.

But we don't have to limit it to shell scripts. In many scenarios Makefiles are more efficient (because they allow multi-threaded operations). I have already started publishing some small Makefiles for common operations in this small Git repository: https://gitlab.com/makhlaghi/useful-scripts

But defining a new class of installed components is just confusing. And generally, things like Managing options aren't too easy with Makefiles. So we can do this: add 'astscript-*' scripts that will call installed Makefiles (in the prefix/share directory). We can then do things like option management and help and etc in the script and call the installed Makefile for the main operation.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(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 (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code