<?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 Compiling Calculix in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Calculix/m-p/1014541#M19393</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;

&lt;P&gt;We use an open source software called Calculix. I wanted to test it using intel PARDISO to speed up some of the computations. I downloaded the Intel Parralel studio linux version to evaluate the capabilities of the PARDISO in my applications. I compiled the code using intel compilers and it seems to create an exe with out any diffculty. My make file looks like below. but when i run the executable it just exits without any error code.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My class mate in the past has compiled successfully with the evaluation version of Intel parallel studio and &amp;nbsp;used the PARDISO. I am not sure where I am doing wrong.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;CFLAGS = -Wall -O3 -DARCH="Linux" -DPARDISO -DMATRIXSTORAGE -DUSE_MT-DLONGLONG&lt;BR /&gt;
	FFLAGS = -Wall -O3 -fopenmp -m64 $(OPTIONS) -I$(MKL_INCLUDE) -fdefault-integer-8&lt;/P&gt;

&lt;P&gt;CC=gcc&lt;BR /&gt;
	FC=gfortran&lt;/P&gt;

&lt;P&gt;OPTIONS = -w -fno-second-underscore -fcray-pointer -x f77-cpp-input&lt;BR /&gt;
	FPPSTOP=-x none&lt;/P&gt;

&lt;P&gt;MKL_LIB = /opt/intel/composer_xe_2015.3.187/mkl/lib/intel64&lt;BR /&gt;
	MKL_INCLUDE = /opt/intel/composer_xe_2015.3.187/mkl/include&lt;BR /&gt;
	CMPLR_PATH = /opt/intel/composer_xe_2015.3.187/compiler/lib/intel64&lt;/P&gt;

&lt;P&gt;# BLAS and LAPACK&lt;BR /&gt;
	LDFLAGS&amp;nbsp;&amp;nbsp; &amp;nbsp;+= -llapack -lblas&amp;nbsp;&lt;/P&gt;

&lt;P&gt;.c.o :&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CC) $(CFLAGS) -c $&amp;lt;&lt;/P&gt;

&lt;P&gt;.f.o :&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) $(FFLAGS) -c $&amp;lt;&lt;/P&gt;

&lt;P&gt;include Makefile.inc&lt;/P&gt;

&lt;P&gt;SCCXMAIN = ccx_2.8p2.c&lt;/P&gt;

&lt;P&gt;OCCXF = $(SCCXF:.f=.o)&lt;/P&gt;

&lt;P&gt;OCCXC = $(SCCXC:.c=.o)&lt;/P&gt;

&lt;P&gt;OCCXMAIN = $(SCCXMAIN:.c=.o)&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	ccx_2.8p2: $(OCCXMAIN) ccx_2.8p2.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;./date.pl; $(CC) $(CFLAGS) -c ccx_2.8p2.c; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) $(FFLAGS) -o $@ $(FPPSTOP) $(OCCXMAIN) ccx_2.8p2.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--start-group \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(MKL_LIB)/libmkl_intel_lp64.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(MKL_LIB)/libmkl_intel_thread.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(MKL_LIB)/libmkl_core.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-L"$(CMPLR_PATH)" \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--end-group \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-liomp5 -lpthread -lm -ldl&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	ccx_2.8p2.a: $(OCCXF) $(OCCXC)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;ar vr $@ $?&lt;BR /&gt;
	clean:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;rm *.a *.o&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2015 19:44:02 GMT</pubDate>
    <dc:creator>Ajay_T_</dc:creator>
    <dc:date>2015-07-16T19:44:02Z</dc:date>
    <item>
      <title>Compiling Calculix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Calculix/m-p/1014541#M19393</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;

&lt;P&gt;We use an open source software called Calculix. I wanted to test it using intel PARDISO to speed up some of the computations. I downloaded the Intel Parralel studio linux version to evaluate the capabilities of the PARDISO in my applications. I compiled the code using intel compilers and it seems to create an exe with out any diffculty. My make file looks like below. but when i run the executable it just exits without any error code.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My class mate in the past has compiled successfully with the evaluation version of Intel parallel studio and &amp;nbsp;used the PARDISO. I am not sure where I am doing wrong.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;CFLAGS = -Wall -O3 -DARCH="Linux" -DPARDISO -DMATRIXSTORAGE -DUSE_MT-DLONGLONG&lt;BR /&gt;
	FFLAGS = -Wall -O3 -fopenmp -m64 $(OPTIONS) -I$(MKL_INCLUDE) -fdefault-integer-8&lt;/P&gt;

&lt;P&gt;CC=gcc&lt;BR /&gt;
	FC=gfortran&lt;/P&gt;

&lt;P&gt;OPTIONS = -w -fno-second-underscore -fcray-pointer -x f77-cpp-input&lt;BR /&gt;
	FPPSTOP=-x none&lt;/P&gt;

&lt;P&gt;MKL_LIB = /opt/intel/composer_xe_2015.3.187/mkl/lib/intel64&lt;BR /&gt;
	MKL_INCLUDE = /opt/intel/composer_xe_2015.3.187/mkl/include&lt;BR /&gt;
	CMPLR_PATH = /opt/intel/composer_xe_2015.3.187/compiler/lib/intel64&lt;/P&gt;

&lt;P&gt;# BLAS and LAPACK&lt;BR /&gt;
	LDFLAGS&amp;nbsp;&amp;nbsp; &amp;nbsp;+= -llapack -lblas&amp;nbsp;&lt;/P&gt;

&lt;P&gt;.c.o :&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$(CC) $(CFLAGS) -c $&amp;lt;&lt;/P&gt;

&lt;P&gt;.f.o :&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) $(FFLAGS) -c $&amp;lt;&lt;/P&gt;

&lt;P&gt;include Makefile.inc&lt;/P&gt;

&lt;P&gt;SCCXMAIN = ccx_2.8p2.c&lt;/P&gt;

&lt;P&gt;OCCXF = $(SCCXF:.f=.o)&lt;/P&gt;

&lt;P&gt;OCCXC = $(SCCXC:.c=.o)&lt;/P&gt;

&lt;P&gt;OCCXMAIN = $(SCCXMAIN:.c=.o)&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	ccx_2.8p2: $(OCCXMAIN) ccx_2.8p2.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;./date.pl; $(CC) $(CFLAGS) -c ccx_2.8p2.c; \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(FC) $(FFLAGS) -o $@ $(FPPSTOP) $(OCCXMAIN) ccx_2.8p2.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--start-group \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(MKL_LIB)/libmkl_intel_lp64.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(MKL_LIB)/libmkl_intel_thread.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$(MKL_LIB)/libmkl_core.a \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-L"$(CMPLR_PATH)" \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--end-group \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;-liomp5 -lpthread -lm -ldl&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	ccx_2.8p2.a: $(OCCXF) $(OCCXC)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;ar vr $@ $?&lt;BR /&gt;
	clean:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;rm *.a *.o&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 19:44:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Calculix/m-p/1014541#M19393</guid>
      <dc:creator>Ajay_T_</dc:creator>
      <dc:date>2015-07-16T19:44:02Z</dc:date>
    </item>
  </channel>
</rss>

