Octopus
pulpo.F90
Go to the documentation of this file.
1!! Copyright (C) 2002-2006 M. Marques, A. Castro, A. Rubio, G. Bertsch
2!!
3!! This program is free software; you can redistribute it and/or modify
4!! it under the terms of the GNU General Public License as published by
5!! the Free Software Foundation; either version 2, or (at your option)
6!! any later version.
7!!
8!! This program is distributed in the hope that it will be useful,
9!! but WITHOUT ANY WARRANTY; without even the implied warranty of
10!! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11!! GNU General Public License for more details.
12!!
13!! You should have received a copy of the GNU General Public License
14!! along with this program; if not, write to the Free Software
15!! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16!! 02110-1301, USA.
17!!
18
19#include "global.h"
20
21module pulpo_oct_m
22 use debug_oct_m
23 use global_oct_m
24 use io_oct_m
25 use loct_oct_m
27
28 implicit none
29
30 private
31 public :: pulpo_print
32
33contains
34
35 subroutine pulpo_print()
36
37 character(len=MAX_PATH_LEN) :: filename
38
39 push_sub(pulpo_print)
40
41 ! some white space
42 message(1) = ''
43 message(2) = ''
44 call messages_info(2)
45
46 call loct_printrecipe(trim(conf%share), filename)
47 call io_dump_file(stdout, filename)
48 call messages_info(2)
49 call io_dump_file(stdout, trim(conf%share)//"/recipes/disclaimer.txt")
50 call messages_info(2)
51
52 pop_sub(pulpo_print)
53
54 end subroutine pulpo_print
55
56end module pulpo_oct_m
57
58!! Local Variables:
59!! mode: f90
60!! coding: utf-8
61!! End:
type(conf_t), public conf
Global instance of Octopus configuration.
Definition: global.F90:177
Definition: io.F90:114
subroutine, public io_dump_file(ounit, filename)
Definition: io.F90:523
subroutine, public messages_info(no_lines, iunit, verbose_limit, stress, all_nodes, namespace)
Definition: messages.F90:624
character(len=256), dimension(max_lines), public message
to be output by fatal, warning
Definition: messages.F90:160
subroutine, public pulpo_print()
Definition: pulpo.F90:129