Changes

Jump to navigation Jump to search
1,080 bytes added ,  18:02, 13 August 2017
m
Line 2: Line 2:  
[https://sites.google.com/site/juanpicarbajal/ Juan Pablo Carbajal]
 
[https://sites.google.com/site/juanpicarbajal/ Juan Pablo Carbajal]
   −
= Useful make options=
+
= Tips and Tricks=
 +
== Get file info when generate_html fails or warns==
 +
Since generate_html gives errors about the random files generated, it is useless when debugging help text. The following command shows the first few lines of the files created by generate_html.
 +
 
 +
<pre> f_old=/tmp/$(ls -1 -t /tmp | head -1);while true; do f=/tmp/$(ls -1 -t /tmp | head -1); if [ "$f" != "$f_old" ]; then echo $f; grep '@def' --include="*octave-help*" $f; f_old=$f; fi; done</pre>
 +
 
 +
run this in a different terminal before using generate_html
 +
is not ideal,but it does the trick
 +
 
 +
== Make options ==
 +
Some options to pass to make when compiling from source
 +
 
 
# <pre> DOC_TARGETS= </pre> avoids building the PDF but still builds function helps.
 
# <pre> DOC_TARGETS= </pre> avoids building the PDF but still builds function helps.
 
# <pre> --disable-atomic-refcount</pre> improves performance when building CLI only.
 
# <pre> --disable-atomic-refcount</pre> improves performance when building CLI only.
   −
= getting help =
+
== Getting help from CLI==
 
# know the function --> <code>help function_name</code> or <code>help function_name</code>.  
 
# know the function --> <code>help function_name</code> or <code>help function_name</code>.  
 
# Know what to do but not the function name --> <code>lookfor what_to_do</code>.  
 
# Know what to do but not the function name --> <code>lookfor what_to_do</code>.  
Line 104: Line 115:  
May be good to port [http://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering SC] as well
 
May be good to port [http://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering SC] as well
    +
== EPA software suite ==
 +
Create native interfaces to the EPA software suites
 +
[[See this group https://github.com/OpenWaterAnalytics]]
 +
 +
=== SWMM ===
 +
* [https://www.epa.gov/water-research/storm-water-management-model-swmm Official page]
 +
* Check work done in [https://github.com/water-systems/MatSWMM MatSWMM] [http://digital.csic.es/bitstream/10261/132982/1/MatSWMM.pdf article]
 +
 +
=== EPANET ===
 +
* [https://www.epa.gov/water-research/epanet Official page]
    
== Old projects ==
 
== Old projects ==
657

edits

Navigation menu