⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.par.p4

📁 一维等离子体静电粒子模拟程序
💻 P4
字号:
####	PDC1 Parallel Makefile ####FILE_EXT = p4##EXEC = xpdc1.par.$(FILE_EXT)##CC = gcc ####To generate power balance dump file uncomment the line below:##DEFINES = -DPOW####For Optimized Mode uncomment the line belowCFLAGS= -O3 -DMPI_1D####For Debug mode uncomment the line below##CFLAGS= -g -Wall -DMPI_1D#### Flags used for compiling.  -O for optimization, which is optional.## If the X11 include files are not located in /usr/include/X11, you## must specify the directory as a flag prefixed by -I.  For instance, ## if the include files for X11 are located in /usr/local/include, the ## flag -I/usr/local/include must also be passed.####MPI_INCLUDE = -I/usr/local/mpich-1.2.0/includeMPI_LIBDIR =-L/usr/local/mpich-1.2.0/libMPI_LIB =-lmpichXGRAFIX_LIBDIR =-L/usr/local/lib/xgrafixXGRAFIX_INCLUDE =-I/usr/local/includeXGRAFIX_LIB = -lXGC250PTCL_LIBDIR = -L/usr/libTCL_LIB = -ltk -ltclX11_LIBDIR =-L/usr/X11R6/libX11_INCLUDE =-I/usr/X11R6/includeX11_LIB = -lX11XPM_LIB = -lXpmLIBDIRS = $(MPI_LIBDIR) $(X11_LIBDIR) $(XGRAFIX_LIBDIR) $(TCL_LIBDIR) -L/usr/lib -L/usr/local/libLIBS = $(XGRAFIX_LIB) $(XPM_LIB) $(TCL_LIB) $(X11_LIB) $(MPI_LIB) -lm -ldlINCLUDES = $(MPI_INCLUDE) $(XGRAFIX_INCLUDE)#### Libraries and their directories used in loading.  ## Normal is -lm and -lX11 for the Math and X11 libraries, which is ## NOT optional.  On Unicos, -lnet is also used.  If the X11 ## libraries are not located in /usr/lib/X11, you## must also specify the directory as a flag prefixed by -L.  ## For instance, if the include files for X11 are located in ## /usr/local/lib, the flag -L/usr/local/lib must also be passed.  ## On Sun, use -Bstatic to avoid problems with differing versions of OS.  ## Man cc for more information on flags.####PDC1OBJ=pdc1.o start.o move.o field.o wall.o f_thermal.o frand.o fft.o \        diagnostics.o mccdiaginit.o initwin.o load.o rescale.o radtr.o \	maxwellv.o argonmcc_hbs.o argonmcc_lk.oall:	$(PDC1OBJ) $(EXEC).c.o:	pdc1.h	$(CC) -c $(CFLAGS) $(DEFINES) $(EXTRA_DEFINES) $(INCLUDES) $*.c$(EXEC):	$(PDC1OBJ)		$(CC) -o $(EXEC) $(PDC1OBJ) $(LIBDIRS) $(LIBS)clean:	@rm -f *.o *~

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -