- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i cannot view the source code in vtune profiler it shows only the assembly code , i want to know which function that takes time to optimize my code here is my makefile source code :
FC= mpiifort
FFLAGS= -v -fp-stack-check -shared-intel -mcmodel large -g # Add the -g flag for debugging information
MYLIB= LIBROUTE.a
home1 = /home/wr/Documents/
LIBDIR= $(home1)/ROUTE/lib
MODDIR= $(home1)/ROUTE/include
MODsrc=modd_config.F90 modd_const_grid.F90 modd_namel_config.F90 \
modd_site_param.F90 modd_model_param.F90 modd_diag_param.F90
SUBRsrc=subp.F90 read_namel_config.F90 read_aladin_prev.F90 read_arome_prev.F90 \
read_dust_prev.F90 interpol_aladin_prev.F90 interpol_arome_prev.F90 \
interpol_dust_prev.F90 interpol_nebul_ald_prev.F90 interpol_nebul_aro_prev.F90 \
calcul_meteo_prev.F90 calcul_meteo_aro_prev.F90 write_meteo_param.F90
MASTERsrc=prev_route.F90
MODOBJ= $(MODSRC:.F90=.o)
MODMOD= $(MODSRC:.F90=.mod)
SUBROBJ= $(SUBRSRC:.F90=.o)
MASTEROBJ= $(MASTERSRC:.F90=.o)
.SUFFIXES:
.SUFFIXES: .F90 .o .x
module:
$(FC) $(FFLAGS) -I$(MODDIR) -c $(MODSRC) # Include -I$(MODDIR) for module search path
subr:
$(FC) $(FFLAGS) -I$(MODDIR) -c $(SUBRSRC) # Include -I$(MODDIR) for module search path
master:
$(FC) $(FFLAGS) -I$(MODDIR) -c $(MASTERSRC) # Include -I$(MODDIR) for module search path
all:
$(FC) $(FFLAGS) -I$(MODDIR) -c $(MODSRC) $(SUBRSRC) $(MASTERSRC) # Include -I$(MODDIR) for module search path
libss:
ar crs $(MYLIB) $(MODOBJ) $(SUBROBJ)
exe:
$(FC) $(FFLAGS) -I$(MODDIR) -c $(MODSRC) $(SUBRSRC) $(MASTERSRC) # Include -I$(MODDIR) for module search path
$(FC) $(FFLAGS) -I$(MODDIR) -o $(EXE) $(MASTEROBJ) $(MYLIB) -g -O0 -lmpifort # Link with debug symbols (-g) and no optimization (-O0)
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try with one simple sample code first and specify the source/bin path to see if the issue is reproduced?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried with a simple code, and it worked. The issue seems to be specific to this project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please double check if you build with option '-g' and specify the correct source and symbol path.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page