Building MELCOR On The PC Using Compaq Visual Fortran: Presented by MELCOR Project Staff Bethesda, MD
Building MELCOR On The PC Using Compaq Visual Fortran: Presented by MELCOR Project Staff Bethesda, MD
Presented by
MELCOR Project Staff
Bethesda, MD
6415•05/03/2001; Page 1
Why Build MELCOR ?
6415•05/03/2001; Page 2
Revised MELCOR Installation
6415•05/03/2001; Page 3
Building MELCOR Development
Environment on the PC
• Use MELCOR_Install
– to prepare PC Fortran source code
– Compile source code
– Prepare package object libraries
• Use Compaq Visual Fortran
– To create development environment
– Create MELCOR and MELGEN “Projects”
– Create MELCOR and MELGEN executables, and
– Debug running code in graphical environment
• Following demonstration works
– Feel free to experiment
6415•05/03/2001; Page 4
Building MELCOR on PC Requires
Compaq Visual Fortran
6415•05/03/2001; Page 5
MELCOR Distribution CD
PC Directory
6415•05/03/2001; Page 6
MELCOR Distribution CD
• MELCOR CD directories
– docs - contains MELCOR
Reference Manuals and
Users’ Guide in Adobe
Acrobat “pdf”
– pc - contains source code,
utilities and executables for
PC (Win95/NT/2000)
– Unix – contains Unix source
and utilities
6415•05/03/2001; Page 7
Installing the MELCOR_Install Utility
6415•05/03/2001; Page 8
Preparing to Build MELCOR
6415•05/03/2001; Page 9
Copy “X-Files” from CD to Your
Development Space
• xxx-files contain
generic code
• Platform-specific
code has extension
revealing platform
• Database.dim can be
modified to enlarge
maximum problem
size
6415•05/03/2001; Page 10
Run MELCOR_Install
• Sequentially “step”
through installation
• Steps 1 through 4
create package
directories with
source code and
object libraries
– Stop here to use Visual
Fortran graphical
development and
debugging
environment
• Step 5 creates stand-
alone executables
6415•05/03/2001; Page 12
• Step 1 – navigate
to the location of
the “X-Files”
• You will see
them in the
window on the
right of the
navigation
window
• Click OK
6415•05/03/2001; Page 13
6415•05/03/2001; Page 14
6415•05/03/2001; Page 15
6415•05/03/2001; Page 16
6415•05/03/2001; Page 17
6415•05/03/2001; Page 18
6415•05/03/2001; Page 19
6415•05/03/2001; Page 20
6415•05/03/2001; Page 21
6415•05/03/2001; Page 22
6415•05/03/2001; Page 23
6415•05/03/2001; Page 24
6415•05/03/2001; Page 25
6415•05/03/2001; Page 26
6415•05/03/2001; Page 27
6415•05/03/2001; Page 28
bh.lib bur.lib cav.lib cf.lib cor.lib crn.lib cvh.lib dch.lib edf.lib eos.lib esf.lib ……
….. exec.lib fdi.lib fl.lib hs.lib mp.lib prog.lib rn1.lib rn2.lib spr.lib tf.lib tp.lib util.lib
6415•05/03/2001; Page 29
6415•05/03/2001; Page 30
6415•05/03/2001; Page 31
6415•05/03/2001; Page 32
6415•05/03/2001; Page 33
6415•05/03/2001; Page 34
End of MELCOR Installation,
General Input Description
Susquehanna
6415•05/03/2001; Page 35