<?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 openmp mkl ifort integer*8 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827749#M5258</link>
    <description>&lt;P&gt;goute:"we're unable to make it working
with integer*8. 'top' then 'H' shows only one thread ?"&lt;/P&gt;&lt;P&gt;but based on the linking line you are using:&lt;/P&gt;

&lt;P&gt;LD
= $(F90)&lt;BR /&gt;
LIBS = -L$(MKLPATH)
$(MKLPATH)/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64
-lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread&lt;BR /&gt;
endif&lt;/P&gt;you missed to link libiomp5 threading library (-liomp5)&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 May 2010 10:05:27 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-05-05T10:05:27Z</dc:date>
    <item>
      <title>openmp mkl ifort integer*8</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827746#M5255</link>
      <description>Hello,&lt;BR /&gt;we have a fortran code that works with openmp mkl libs (.lp64) with integer*4 on IA64 architecture,&lt;BR /&gt;but we're unable to make it working with integer*8. 'top' then 'H' shows only one thread ?&lt;BR /&gt;here are the 'ldd' for both i4 and i8 compiled code:&lt;BR /&gt;user1@math8:/workspace/cassam/CONVIV/trunk/Test/CH4_DM_Hrot_eff&amp;gt; ldd ../../Source/conviv.exe &lt;BR /&gt; linux-gate.so.1 =&amp;gt; (0xa000000000000000)&lt;BR /&gt; libmkl_intel_lp64.so =&amp;gt; /opt/intel/mkl/10.2.2.025/lib/64/libmkl_intel_lp64.so (0x2000000000050000)&lt;BR /&gt; libmkl_intel_thread.so =&amp;gt; /opt/intel/mkl/10.2.2.025/lib/64/libmkl_intel_thread.so (0x2000000000630000)&lt;BR /&gt; libmkl_core.so =&amp;gt; /opt/intel/mkl/10.2.2.025/lib/64/libmkl_core.so (0x2000000001b60000)&lt;BR /&gt; libpthread.so.0 =&amp;gt; /lib/libpthread.so.0 (0x2000000001cf0000)&lt;BR /&gt; libimf.so.6 =&amp;gt; /opt/intel/Compiler/11.1/056/lib/ia64/libimf.so.6 (0x2000000001d30000)&lt;BR /&gt; libm.so.6.1 =&amp;gt; /lib/libm.so.6.1 (0x2000000002000000)&lt;BR /&gt; libiomp5.so =&amp;gt; /opt/intel/Compiler/11.1/056/lib/ia64/libiomp5.so (0x20000000020d0000)&lt;BR /&gt; libc.so.6.1 =&amp;gt; /lib/libc.so.6.1 (0x20000000021e0000)&lt;BR /&gt; libgcc_s.so.1 =&amp;gt; /lib/libgcc_s.so.1 (0x2000000002450000)&lt;BR /&gt; libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x2000000002480000)&lt;BR /&gt; libunwind.so.7 =&amp;gt; /lib/libunwind.so.7 (0x20000000024a0000)&lt;BR /&gt; /lib/ld-linux-ia64.so.2 (0x2000000000000000)&lt;BR /&gt;user1@math8:/workspace/cassam/CONVIV/trunk/Test/CH4_DM_Hrot_eff&amp;gt; ldd ../../Source/Source_i8/conviv.exe &lt;BR /&gt; linux-gate.so.1 =&amp;gt; (0xa000000000000000)&lt;BR /&gt; libmkl_intel_ilp64.so =&amp;gt; /opt/intel/mkl/10.2.2.025/lib/64/libmkl_intel_ilp64.so (0x2000000000050000)&lt;BR /&gt; libmkl_intel_thread.so =&amp;gt; /opt/intel/mkl/10.2.2.025/lib/64/libmkl_intel_thread.so (0x2000000000440000)&lt;BR /&gt; libmkl_core.so =&amp;gt; /opt/intel/mkl/10.2.2.025/lib/64/libmkl_core.so (0x2000000001970000)&lt;BR /&gt; libpthread.so.0 =&amp;gt; /lib/libpthread.so.0 (0x2000000001b00000)&lt;BR /&gt; libimf.so.6 =&amp;gt; /opt/intel/Compiler/11.1/056/lib/ia64/libimf.so.6 (0x2000000001b40000)&lt;BR /&gt; libm.so.6.1 =&amp;gt; /lib/libm.so.6.1 (0x2000000001e10000)&lt;BR /&gt; libiomp5.so =&amp;gt; /opt/intel/Compiler/11.1/056/lib/ia64/libiomp5.so (0x2000000001ee0000)&lt;BR /&gt; libc.so.6.1 =&amp;gt; /lib/libc.so.6.1 (0x2000000001ff0000)&lt;BR /&gt; libgcc_s.so.1 =&amp;gt; /lib/libgcc_s.so.1 (0x2000000002260000)&lt;BR /&gt; libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x2000000002290000)&lt;BR /&gt; libunwind.so.7 =&amp;gt; /lib/libunwind.so.7 (0x20000000022b0000)&lt;BR /&gt; /lib/ld-linux-ia64.so.2 (0x2000000000000000)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;best regards.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2010 13:04:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827746#M5255</guid>
      <dc:creator>jmlunice_fr</dc:creator>
      <dc:date>2010-05-03T13:04:55Z</dc:date>
    </item>
    <item>
      <title>openmp mkl ifort integer*8</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827747#M5256</link>
      <description>might be you need to compile your Fortran code with the -i8 compiler option.&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 May 2010 10:37:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827747#M5256</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-05-04T10:37:49Z</dc:date>
    </item>
    <item>
      <title>openmp mkl ifort integer*8</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827748#M5257</link>
      <description>That's what we did, follow the used makefile:&lt;BR /&gt;&lt;BR /&gt;SHELL = /bin/sh&lt;BR /&gt;&lt;BR /&gt;ARGS ?=&lt;BR /&gt;DBG ?=&lt;BR /&gt;F90 ?=&lt;BR /&gt;F90FLAGS ?=&lt;BR /&gt;INC ?=&lt;BR /&gt;DEBUG ?=&lt;BR /&gt;LD ?=&lt;BR /&gt;LIBS ?=&lt;BR /&gt;&lt;BR /&gt;ARGS := $(MAKECMDGOALS)&lt;BR /&gt;&lt;BR /&gt;#MAXSPEED F90FLAGS = -m64 -xSSE4.2 -ipo -O3 -no-prec-div -static&lt;BR /&gt;MKLPATH = /opt/intel/mkl/10.2.2.025/lib/64&lt;BR /&gt;&lt;BR /&gt;ifeq ($(shell arch), ia64)&lt;BR /&gt;ifeq (seq, $(filter seq,$(ARGS)))&lt;BR /&gt;F90 = ifort&lt;BR /&gt;INC = -I./&lt;BR /&gt;F90FLAGS = -cpp -O2 -i8 -ftz -traceback -override-limits -DGEMM&lt;BR /&gt;ifdef DBG&lt;BR /&gt;DEBUG = -g -ftrapuv -fpe-all=0 -auto -noalign -heap-array -debug extended -check bounds -check arg_temp_created -fp-stack-check -warn all -check all -gen-interfaces -warn interfa&lt;BR /&gt;ces&lt;BR /&gt;F90FLAGS += $(DEBUG)&lt;BR /&gt;endif&lt;BR /&gt;LD = $(F90)&lt;BR /&gt;LIBS = -L$(MKLPATH) $(MKLPATH)/libmkl_solver_lp64_sequential.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread&lt;BR /&gt;&lt;BR /&gt;else ifeq (par, $(filter par,$(ARGS)))&lt;BR /&gt;F90 = ifort&lt;BR /&gt;INC = -I./&lt;BR /&gt;F90FLAGS = -cpp -O2 -i8 -ftz -traceback -override-limits -DGEMM&lt;BR /&gt;ifdef DBG &lt;BR /&gt;DEBUG = -g -ftrapuv -fpe-all=0 -auto -noalign -heap-array -debug extended -traceback -check bounds -check arg_temp_created -fp-stack-check -warn all -check all -gen-interfaces -warn interfaces&lt;BR /&gt;F90FLAGS += $(DEBUG)&lt;BR /&gt;endif&lt;BR /&gt;LD = $(F90)&lt;BR /&gt;LIBS = -L$(MKLPATH) $(MKLPATH)/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;else&lt;BR /&gt;$(error Unknown Architecture -- unable to continue)&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;SRCS := $(wildcard *.f90)&lt;BR /&gt;OBJS := $(patsubst %.f90,%.o,$(SRCS))&lt;BR /&gt;&lt;BR /&gt;EXE = conviv.exe&lt;BR /&gt;&lt;BR /&gt;# Rules&lt;BR /&gt;all:&lt;BR /&gt; @echo -------------------------------------------------------------&lt;BR /&gt; @echo make seq Build sequential MKL version&lt;BR /&gt; @echo make seq DGB=true Build sequential MKL debug version&lt;BR /&gt; @echo make par Build parallel MKL version &lt;BR /&gt; @echo make par DBG=true Build sequential MKL debug version&lt;BR /&gt; @echo -------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;seq par: info $(EXE)&lt;BR /&gt;&lt;BR /&gt;info:&lt;BR /&gt; @echo -----------------&lt;BR /&gt; @echo ARGS: $(args)&lt;BR /&gt; @echo ARCH: $(ARCH)&lt;BR /&gt; @echo PATH: $(PATH)&lt;BR /&gt; @echo CURDIR: $(CURDIR)&lt;BR /&gt; @echo FC: $(F90)&lt;BR /&gt; @echo FCFLAGS: $(F90FLAGS)&lt;BR /&gt; @echo DBG: $(DBG)&lt;BR /&gt; @echo DEBUG: $(DEBUG)&lt;BR /&gt; @echo SRC_FILES: $(SRCS)&lt;BR /&gt; @echo APP_FILES: $(OBJS)&lt;BR /&gt; @echo LIBS: $(LIBS)&lt;BR /&gt; @echo INCLUDE: $(INC)&lt;BR /&gt; @echo EXE_NAME: $(EXE)&lt;BR /&gt; @echo ----------------&lt;BR /&gt;&lt;BR /&gt;$(EXE): $(OBJS)&lt;BR /&gt; @echo "--- Linking ( $@ ) ---"&lt;BR /&gt; $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)&lt;BR /&gt;&lt;BR /&gt;.SUFFIXES: .f90 .o&lt;BR /&gt;&lt;BR /&gt;ho.o: ho.f90&lt;BR /&gt; @echo&lt;BR /&gt; @echo "--- Compiling ( $&amp;lt; ) ---"&lt;BR /&gt; $(F90) $(INC) -cpp -O1 -i8 -ftz -traceback -DGEMM -c $&amp;lt; &lt;BR /&gt;&lt;BR /&gt;cond.o: cond.f90&lt;BR /&gt; @echo&lt;BR /&gt; @echo "--- Compiling ( $&amp;lt; ) ---"&lt;BR /&gt; $(F90) $(INC) -cpp -O1 -i8 -ftz -traceback -DGEMM -c $&amp;lt; &lt;BR /&gt;&lt;BR /&gt;.f90.o:&lt;BR /&gt; @echo&lt;BR /&gt; @echo "--- Compiling ( $&amp;lt; ) ---"&lt;BR /&gt; $(F90) $(INC) $(F90FLAGS) -c $&amp;lt; &lt;BR /&gt;&lt;BR /&gt;# Include the dependency-list created by makedepf90 below&lt;BR /&gt;include .depend&lt;BR /&gt;&lt;BR /&gt;.PHONY : clean cleaner&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt; @echo "--- Clean Garbage ---"&lt;BR /&gt; -rm -f *.o *~ *.mod *__genmod*&lt;BR /&gt;&lt;BR /&gt;cleaner: clean&lt;BR /&gt; @echo "--- Clean Executables ---"&lt;BR /&gt; -rm -f $(EXE) /workspace/CONVIV.DEBUG/Source-Oct09/ord044-rotint.8&lt;BR /&gt;&lt;BR /&gt;depend .depend:&lt;BR /&gt; /usr/local/src/makedepf90-2.8.8/makedepf90 -o foobar *.f90 &amp;gt; .depend&lt;BR /&gt;&lt;BR /&gt;# DO NOT DELETE&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2010 08:23:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827748#M5257</guid>
      <dc:creator>jmlunice_fr</dc:creator>
      <dc:date>2010-05-05T08:23:03Z</dc:date>
    </item>
    <item>
      <title>openmp mkl ifort integer*8</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827749#M5258</link>
      <description>&lt;P&gt;goute:"we're unable to make it working
with integer*8. 'top' then 'H' shows only one thread ?"&lt;/P&gt;&lt;P&gt;but based on the linking line you are using:&lt;/P&gt;

&lt;P&gt;LD
= $(F90)&lt;BR /&gt;
LIBS = -L$(MKLPATH)
$(MKLPATH)/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64
-lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread&lt;BR /&gt;
endif&lt;/P&gt;you missed to link libiomp5 threading library (-liomp5)&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 May 2010 10:05:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827749#M5258</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-05-05T10:05:27Z</dc:date>
    </item>
    <item>
      <title>openmp mkl ifort integer*8</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827750#M5259</link>
      <description>Hello,&lt;BR /&gt;thank you for answers, but if you take a look at the ldd output of my previous posts, youi we'll see that the libiomp5 is loaded.&lt;BR /&gt;This link line was generated by &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;, so i hope it's correct ?&lt;BR /&gt;In fact, meantime i updated the compiler version with new mkl libs at level 11.1/072, and the code uses now multithreads&lt;BR /&gt;with ilp64 and i8 options.&lt;BR /&gt;So i think that the problem is solved.&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 11 May 2010 07:28:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/openmp-mkl-ifort-integer-8/m-p/827750#M5259</guid>
      <dc:creator>jmlunice_fr</dc:creator>
      <dc:date>2010-05-11T07:28:29Z</dc:date>
    </item>
  </channel>
</rss>

