Hi Andy, 
On the machine you are using you need to install gfortran, this is done through the system package manager. If you are on something debian derived (e.g., Ubuntu) then you can just run apt-get install gfortran on something redhat derived (e.g., Centos) then yum install gfortran should do it. 
To follow up your earlier question, yes I changed SREFSTDMDL to SREF as there was only once parameterisation of deriving surface reflectance and 18 months ago when I originally wrote the code I thought I’d end up with several.
Cheers, Pete
****************************************************
* Dr Pete Bunting
* Senior Lecturer in Remote Sensing
* Earth Observation and Ecosystem Dynamics Group
* Department of Geography and Earth Sciences
* Aberystwyth University
* Aberystwyth
* Ceredigion
* SY23 3DB
* UK
* 
* Ph: 
+44 (0) 1970 622615
* Mob: 
+44 (0) 7917 842743
* Email: 
p...@aber.ac.uk
* ORCID: 
http://orcid.org/0000-0002-7435-0148
****************************************************
 >>> To unsubscribe from this group and stop receiving emails from it, send an email to 
rsgislib-suppo...@googlegroups.com.
>> -- 
>> You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to 
rsgislib-suppo...@googlegroups.com.
> -- 
> You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to 
rsgislib-suppo...@googlegroups.com.