This page tells you how to compile and link your program with CXML for the Fortran and C languages on various platforms. It also describes how to link with the CXML parallel library.
Fortran
To compile and link a Fortran program that contains calls to
CXML routines, use one of the following commands:
Compaq Tru64 UNIX | f77 my_prog.f -lcxml | |
f90 my_prog.f90 -lcxml | ||
LINUX | fort my_prog.f -lcxml |
Parallel
To compile and link a Fortran program with the parallel version of CXML:
f77 my_prog.f -lcxmlp |
C
To compile and link a C program that contains calls to CXML routines,
use one of the following commands:
Compaq Tru64 UNIX | cc -migrate my_prog.c -lcxml | |
LINUX | ccc my_prog.c -lcxml |
Notes
my_prog.f and my_prog.f90 are example Fortran programs.
my_prog.c is an example C program.
For Tru64 UNIX, using the -migrate flag lets you take advantage
of the Compaq C compilation environment.