[CONTACT]

[ABOUT]

[POLICY]

[ADVERTISE]

The MPI Interface Select an

Found at: ftp.icm.edu.pl:70/packages/netlib/pltmg11/pltmg_double/Makefile_generic

#*************************** The MPI Interface ************************* 
#
#       Select an MPI interface: mgmpi or mgmpi_stubs.
#
#       If MPI is not needed, one can select mgmpi_stubs,
#       allowing the creation of an executable without
#       the need to load the MPI library. However,
#       all MPI options are completely disabled.
#

		
MPI_INTERFACE = mgmpi
#MPI_INTERFACE = mgmpi_stubs

		
#
#       Set the path for MPI include files and libraries.
#       This is not needed if mgmpi_stubs was selected.
#

		
MPI_INCLUDE = 
MPI_LIBRARY = -lmpich

		
#
#************************ The X-Windows Interface ********************** 
#
#       Select an X-Windows interface: xgui or xgui_stubs.
#
#       If X-Windows is not needed, one can select xgui_stubs,
#       allowing the creation of an executable without
#       the need to load the X-Windows libraries. However,
#       the X-Windows GUI and associated graphics options
#       are completely disabled.
#

		
X11_INTERFACE = xgui
#X11_INTERFACE = xgui_stubs

		
#
#       Set the path for X-Windows include files and libraries.
#       This is not needed if xgui_stubs was selected.
#

		
X11_INCLUDE = 
X11_LIBRARY = -lXm -lXt -lX11

		
#
#********************* The Socket Graphics Interface ******************* 
#
#       Select a Socket Graphics interface: mgvio or mgvio_stubs.
#
#       If SG is not needed, one can select mgvio_stubs,
#       allowing the creation of an executable without
#       the need to load the VIO library. However,
#       the SG and BH graphics options are completely disabled.
#
#       The VIO/SG software package is available on the home page
#       of Michael Holst:
#       http://cam.ucsd.edu/~mholst/
#       The package provides both the SG OpenGL display tool and
#       the maloc library.
#

		
VIO_INTERFACE = mgvio
#VIO_INTERFACE = mgvio_stubs

		
#
#       Set the path for VIO include files and libraries.
#       This is not needed if mgvio_stubs was selected.
#

		
VIO_INCLUDE = 
VIO_LIBRARY = -lmaloc

		
#
#***************************** C and FORTRAN *************************** 
#                                              
#       Define C and Fortran compilers and compile options
#

		
CC = mpicc -O
F77 = mpif90 -O

		
#
#*********************************************************************** 
#
#       The rest of the Makefile is independent of environment
#

		
INCS = ${MPI_INCLUDE} ${X11_INCLUDE} ${VIO_INCLUDE}
LIBS = ${MPI_LIBRARY} ${X11_LIBRARY} ${VIO_LIBRARY}
INTER = ${MPI_INTERFACE}.o ${X11_INTERFACE}.o ${VIO_INTERFACE}.o mgxdr.o

		
MG = atest.o pltmg.o ${INTER}

		
.f.o:
	${F77} ${INCS} -c $< -o $@

		
.c.o:
	${CC} ${INCS} -c $< -o $@

		
Circle: circle.o ${MG}
	${F77} circle.o ${MG} ${LIBS} -o Circle 

		
Jcn: jcn.o  ${MG}
	${F77} jcn.o ${MG} ${LIBS} -o Jcn 

		
Domains: domains.o ${MG}
	${F77} domains.o ${MG} ${LIBS} -o Domains 

		
Naca: naca.o ${MG}
	${F77} naca.o ${MG} ${LIBS} -o Naca 

		
Square: square.o ${MG}
	${F77} square.o ${MG} ${LIBS} -o Square 

		
Ob: ob.o ${MG}
	${F77} ob.o ${MG} ${LIBS} -o Ob

		
Mnsurf: mnsurf.o ${MG}
	${F77} mnsurf.o ${MG} ${LIBS} -o Mnsurf

		
Burger: burger.o ${MG}
	${F77} burger.o ${MG} ${LIBS} -o Burger

		
Battery: battery.o ${MG}
	${F77} battery.o ${MG} ${LIBS} -o Battery

		
Ident: ident.o ${MG}
	${F77} ident.o ${MG} ${LIBS} -o Ident

		
Control: control.o ${MG}
	${F77} control.o ${MG} ${LIBS} -o Control

		
Message: message.o ${MG}
	${F77} message.o ${MG} ${LIBS} -o Message

		
Usmap: usmap.o ${MG}
	${F77} usmap.o ${MG} ${LIBS} -o Usmap 

		
clean:
	rm -f *.o fort.* core* *.rw journl*.jnl* *.out jnltmp*.jnl* \
	Domains* Circle* Mnsurf* Jcn* Naca* Square* Usmap* \
	Control* Burger* Ob* Battery* Ident* Message* PI*

		
.


AD:

NEW PAGES:

[ODDNUGGET]

[GOPHER]