New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
hello.F90 in vendors/FCM-2017.10.0/test/repos/add_subroutine – NEMO

source: vendors/FCM-2017.10.0/test/repos/add_subroutine/hello.F90 @ 11305

Last change on this file since 11305 was 10672, checked in by nicolasmartin, 5 years ago

Reimport latest FCM release

File size: 505 bytes
Line 
1PROGRAM Hello
2
3#if !defined(LOCAL_STRING)
4USE Hello_Constants, ONLY: hello_string
5#endif
6
7IMPLICIT NONE
8
9#if defined(LOCAL_STRING)
10CHARACTER (LEN=80), PARAMETER :: hello_string = 'Hello Mother Earth!'
11#endif
12
13#if defined(CALL_HELLO_SUB)
14INCLUDE 'hello_sub.interface'
15#endif
16INCLUDE 'hello_sub2.interface'
17
18CHARACTER (LEN=*), PARAMETER :: this = 'Hello'
19
20WRITE (*, '(A)') this // ': ' // TRIM (hello_string)
21#if defined(CALL_HELLO_SUB)
22CALL Hello_Sub (HUGE(0))
23#endif
24CALL Hello_Sub2 ()
25
26END PROGRAM Hello
Note: See TracBrowser for help on using the repository browser.