Line data Source code
1 : ! ***********************************************************************
2 : !
3 : ! Copyright (C) 2010 Bill Paxton
4 : !
5 : ! This program is free software: you can redistribute it and/or modify
6 : ! it under the terms of the GNU Lesser General Public License
7 : ! as published by the Free Software Foundation,
8 : ! either version 3 of the License, or (at your option) any later version.
9 : !
10 : ! This program is distributed in the hope that it will be useful,
11 : ! but WITHOUT ANY WARRANTY; without even the implied warranty of
12 : ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 : ! See the GNU Lesser General Public License for more details.
14 : !
15 : ! You should have received a copy of the GNU Lesser General Public License
16 : ! along with this program. If not, see <https://www.gnu.org/licenses/>.
17 : !
18 : ! ***********************************************************************
19 :
20 1 : program run
21 :
22 1 : use run_star_support, only: do_read_star_job
23 : use run_star, only: do_run_star
24 : use star_def
25 :
26 : implicit none
27 :
28 : integer :: ierr
29 :
30 1 : ierr = 0
31 1 : call do_read_star_job('inlist', ierr)
32 1 : if (ierr /= 0) stop 'run'
33 :
34 1 : call do_run_star
35 :
36 1 : end program run
|