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

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  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 Percent Complete:  0%
Assigned to:  None 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>
Project 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>
Project Administrator

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.6