<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cannot view source code intel vtune in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1590950#M24606</link>
    <description>&lt;P&gt;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 :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;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)&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 20 Apr 2024 09:28:16 GMT</pubDate>
    <dc:creator>sarah24</dc:creator>
    <dc:date>2024-04-20T09:28:16Z</dc:date>
    <item>
      <title>cannot view source code intel vtune</title>
      <link>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1590950#M24606</link>
      <description>&lt;P&gt;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 :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;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)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 20 Apr 2024 09:28:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1590950#M24606</guid>
      <dc:creator>sarah24</dc:creator>
      <dc:date>2024-04-20T09:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: cannot view source code intel vtune</title>
      <link>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1591221#M24609</link>
      <description>&lt;P&gt;Did you try with one simple sample code first and specify the source/bin path to see if the issue is reproduced?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 01:24:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1591221#M24609</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-22T01:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: cannot view source code intel vtune</title>
      <link>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1592238#M24626</link>
      <description>&lt;P&gt;I tried with a simple code, and it worked. The issue seems to be specific to this project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 10:27:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1592238#M24626</guid>
      <dc:creator>sarah24</dc:creator>
      <dc:date>2024-04-24T10:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: cannot view source code intel vtune</title>
      <link>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1592455#M24630</link>
      <description>&lt;P&gt;Please double check if you build with option '-g' and specify the correct source and symbol path.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 02:24:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/cannot-view-source-code-intel-vtune/m-p/1592455#M24630</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-25T02:24:51Z</dc:date>
    </item>
  </channel>
</rss>

