+ All Categories
Home > Documents > HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM...

HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM...

Date post: 28-Dec-2015
Category:
Upload: marilynn-todd
View: 217 times
Download: 2 times
Share this document with a friend
Popular Tags:
30
HRM Made Easy ... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN SPACE RESEARCH ORGANIZATION THIRUVANANTHAPURAM – 695 022 KERALA, INDIA E-mail: [email protected]
Transcript
Page 1: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

HRM Made Easy ...

Dr. D. Bala Subrahamanyam(Nick Name: SUBBU)

SPACE PHYSICS LABORATORYVIKRAM SARABHAI SPACE CENTREDEPT. OF SPACE, GOVT. OF INDIA

INDIAN SPACE RESEARCH ORGANIZATIONTHIRUVANANTHAPURAM – 695 022

KERALA, INDIAE-mail: [email protected]

Page 2: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

Introductory Remarks....

Before I proceed to give some tips and toes to make High-resolution Regional Model (HRM) easy to the New Users, I would like to get your route of learning bit systematic. For this – you may need to answer yourself these check-points: ................

Please be sure that – you don't skip any of the check-points and then I am quite sure that – you will be able to feel HRM simulations quite easier .....(ALL THE BEST TO YOU ALL ...)

Page 3: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (1)

Are you familiar with LINUX/UNIX Operating System ?

I strongly assume that your answer is a big “YES”. If your answer is shaky “YES”, then I will

suggest you all to spend a week time to just get familiar with your operating system. These days,

there are many Open Source LINUX Systems available on web. However, I am using

OpenSuse and found it quite effective. Give a try ...

Page 4: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (1)

Are you familiar with LINUX/UNIX Operating System ?

If your answer was “YES” please go ahead. For those, who are not familiar with LINUX, I may advise them to play with the LINUX Operating System for a week or so. On Google, they can search “OpenSuse”, “Ubuntu”, “Mandriva” and

many more open source linux OS. All the best ..........

Page 5: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (1) ....

Are you familiar with LINUX/UNIX Operating System ?

If your answer was “YES” please go ahead. For those, who are not familiar with LINUX, I may advise them to play with the LINUX Operating System for a week or so. On Google, they can search “OpenSuse”, “Ubuntu”, “Mandriva” and

many more open source linux OS. All the best ..........

Page 6: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (1) ....

Here are some direct links of Open source LINUX:

http://www.opensuse.org/http://www.ubuntu.com/

http://www.mandriva.com/http://www.linux.org/

.....There may be many more.

I am quite sorry....if I missed some...

Page 7: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (2)

Hope, you are now through with the LINUX..., Now comes my second check-point. Are you

familiar with GrADS Package ?

If your answer is a confident “YES”....Then Go Ahead.

If your answer is “NO”, I will recommend installation of the GrADS Package from

http://www.iges.org/grads/Website. This is basically a graphical user interface package and may take hardly a day

to learn and start....

Page 8: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (2).....

GrADS Package ....

If you think, you need to practice this package for a while.........thanks to the people behind GrADS package. Here is a nice tutorial for

you. Have a look please..

http://www.iges.org/grads/gadoc/tutorial.html

All the Best .......

Page 9: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (3)

FORTRAN....FORTRAN .....FORTRAN....

Hi All, I am really a maniac in FOTRAN. Whatever task.......I like to do it in FORTRAN.

Believe me. Even after spending 10 yrs or more in Research field, I find it quite

interesting and enthusiastic.

Don't You Feel So ?

Page 10: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (3)......

FORTRAN....FORTRAN .....FORTRAN....

Well, if your answer was partial “YES” and partial “NO”..........you need not bother too much. Just an introductory knowledge in FORTRAN may be good enough to give a kick-start........however more you know,

better it would be. Indeed some knowledge on C and C++ is also obvious, but the

MOTHER language is FORTRAN, that too FORTRAN 90.

Page 11: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (3)......

FORTRAN....FORTRAN .....FORTRAN....

Hope, you have now reached to a stage, where you find yourself NOT A STRANGER in

Fortran Codes. If so, you are well fit to GO AHEAD...

All the best again...

Page 12: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4)

FORTRAN Compilers ...

I found “FORTRAN Compilers” more complicated than the language itself.

Earlier, I had used just one simple f77 compiler, but gone are the days.........

Page 13: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

FORTRAN Compilers ...

These days, there are several FORTRAN compilers available on web. Some of them

are freeware while others are not.

Having SOME Knowledge on these compilers is mandatory and necessary for going

ahead.

Page 14: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

FORTRAN Compilers ...

To the best of my knowledge, I have come across Intel Fortran Compiler, PGI Compiler,

gfortran, g95 so so so...

You need to necessarily know, which of the fortran compiler are you using !!!!

Page 15: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

FORTRAN Compilers ...

These different compilers have got different flags and options. It is indeed difficult to deal

and tackle with these compilers, but going through the manual of these compilers will indeed help. In my case, I am more familiar to Intel Fortran compilers. Within Intel (i.e.,

ifort), there are various versions.....

Page 16: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

Intel FORTRAN Compiler (ifort)

I have come across Intel (9, 10 and recently 11) version of ifort. My personal experience was:

9 was the best, while 11 has got some complications. Whatsoever, just a small

change in options and flags solve the purpose. However, at this juncture........

Page 17: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

Intel FORTRAN Compiler (ifort)

However, at this juncture........I will just say that “KNOW YOUR COMPILER”For successful compilation of HRM code on your computer, you may need to know your compiler well. Complications are added up while we make use of 64-bit computers. So,

just be cautious and know well – which compiler, which version.....hence which flags

and which options ....

Page 18: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

Intel FORTRAN Compiler (ifort)

However, at this juncture........I will just say that “KNOW YOUR COMPILER”For successful compilation of HRM code on your computer, you may need to know your compiler well. Complications are added up while we make use of 64-bit computers. So,

just be cautious and know well – which compiler, which version.....hence which flags

and which options ....

Page 19: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (4).....

FORTRAN Compiler ....

I am sorry that – I can't give too many clues on what kind of error you may encounter with

different compilers, but I can say confidently that – just minor alterations in flags and

options will solve your problems.

So Go ahead.....

Page 20: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (5)(Adopted from HRM Users Guide)

I call it as an advance check-list ITEM. Still, its very good one to cross-check.

Probably, I have detailed all these in my previous slides....Go ahead now..

Page 21: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (6)

Even though, Dr. Majewski and his colleagues have given a very nice description of “HOW TO GO AHEAD” in the HRM Users' Guide, I thought

– I may reword their gist in my own way …

Kind of OLD Wine in a New Bottle......Right !

OK, So here we go ....

Page 22: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (6)

Question: Do we have all the necessary files to start the HRM Simulations ?

(1) HRM Source Code(2) HRM and GME Topography

(3) GME Derived Lateral Boundary DataSo, so so so so..

Page 23: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (6a)

Question: Do we have all the necessary files to start the HRM Simulations ?

(1) HRM Source Code:It essentially include the following files:

grib1.tar.gzmath_dwd_1.3.tar.gz

supplement.tar.gzsupport.tar.gz

gme2hrm(2.5).tar.gz (2.5 is the latest version)hrm(2.7).tar.gz (2.7 is the latest version)

Page 24: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (6b)

Question: Do we have all the necessary files to start the HRM Simulations ?

(2) HRM and GME Topography:It essentially include the following files:

invar.i192a (GME Topography)India_0.25 (HRM Topography...the filename may vary for different countries. It can be 0.25 deg.

Resolution or still finer, say 0.10 degrees).

Page 25: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (6c)(3) GME derived lateral boundary data ...:

These filenames will look like:

Page 26: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (7a)

Compilation of the HRM Code...

At this juncture, I will like to pull the attention of reader to three files, which they may have to

really understand well in the HRM Source Code....

(1) Makefile; (2) Options and (3) LinkLibs

Page 27: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (7b)

Check-point before compilation of grib1, supplement and support folders....

Ensure that the “Makefile” in these folders have got proper fortran compiler and the flags are

perfectly alright.

Page 28: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (7c)

Check-point before compilation of all other source folders (math_dwd_1.3; gme2hrmX.X;

and hrmX.X)

Ensure that the “Options” and “LinkLibs” has got proper fortran compilers and the flags are perfectly alright. Also cross-check that there is no other syntax error. Having done that – I am sure, you will be able to generate the required

binaries.

Page 29: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (8).. The Sequence

Page 30: HRM Made Easy... Dr. D. Bala Subrahamanyam (Nick Name: SUBBU) SPACE PHYSICS LABORATORY VIKRAM SARABHAI SPACE CENTRE DEPT. OF SPACE, GOVT. OF INDIA INDIAN.

My Check-List (8).. The Sequence

In the previous slide, I just showed, how the sequence of compilation should take place. In my case “hrm_dbs” is the home directory, hence

the sequence. Hope in these slides, I did not confuse you.

Also I hope, I tried to make the HRM compilation bit easier. Purposely, I have not touched upon the high-level errors and problems,

thinking that – as more and more users start compiling and come forward with their actual problems, the HRM-HELP GOOGLE group

will help the needy. My best wishes to all the new HRM Users.

And my special special thanks to Dr. Majewski and all the colleagues from DWD for providing us one of the best atmospheric models.

Cheers.........and MERRY CHRISTMAS.

SUBBU. (Please do not hesitate to contact me personally, if you have any specific

query. I will try my level best to find time and sort it out).


Recommended