Compiling is the process of transforming source code written by a programmer into an object code, generally into a binary form which is understandable to a machine.

learn more… | top users | synonyms

1
vote
3answers
203 views

Languages Speed [closed]

Suppose a program was written in two distinct languages, let them be language X and language Y, if their compilers generate the same byte code, why I should use language X instead of the language Y? ...
1
vote
0answers
92 views

Issues with Open MPI [closed]

Not sure if this question is more appropriate for StackOverload, but I'm guessing a bunch of people here have experience with MPI2, so thought I would try here first. I have some large dense complex ...
1
vote
1answer
49 views

Compiling HSL_ME57 and interfacing with C code

Has anyone here had any success (or at least tried) compiling the HSL_ME57 (or similar such as MA57, etc.) matrix factorization libraries? Do any C wrappers exist for the Fortran function calls? I'm ...
3
votes
2answers
76 views

Local versus remote development

I know there are similar questions asked on other StackExchange sites, but I think development in Computational Science may work differently because of the computing environments that are common. I ...
2
votes
1answer
486 views

Intel MKL - Difference between mkl_intel_lp64 and mkl_gf_lp64

I am currently trying to link a program against the Intel MKL 11.0 library instead of using NetLIB or OpenBLAS. Doing this I recognized the following error which I can not explain to my self at the ...
7
votes
3answers
941 views

How do I know if my code is being vectorized by the compiler?

As exemplified by Jed Brown's answer to Costs of lookups versus calculations, using vectorized vs non-vectorized floating point operations results in much faster code. Many modern compilers claim ...
3
votes
1answer
501 views

Can gsl be compiled with the intel C compiler?

The library itself compiles just fine with icc, but when I try to link to it (using icc for both the driver code and the linker), I get the same error that this question on stackoverflow is asking ...
2
votes
2answers
184 views

Why can't I compile a function using the CHKERRQ macro in PETSc?

I wrote a function to read in the runtime parameters my program takes. This function is in a different file than my main program; the two object files are linked after compilation. When I compile the ...
7
votes
1answer
753 views

What does Static, Dynamic and Single Dynamic linking mean?

I use Intel MKL for BLAS and use the Intel MKL Link Line Advisor for help with the command line options. The advisor provides options for Static, Dynamic and Single Dynamic Library. What do these ...
1
vote
1answer
2k views

Compiling and running a “hello world” program in PETSc

I'm trying to compile a hello world program using PETSc, based off of this tutorial, slide 33 . How would I compile this? I know that I can't use a simple 'mpicc' command. When running the program, ...
3
votes
2answers
647 views

How do I compile a program that contains both MPI and OPENMP

I have a fortran 90 code that distributes blocks of computations (from a matrix) to multiple nodes in a cluster using MPI, but in each node, the for loops are executed in parallel using openmp. I ...
9
votes
3answers
8k views

Intel Fortran Compiler: tips on optimization at compilation

I will start with my personal experience in our lab. Back in the ifort 9 and 10 days, we used to be quite aggressive with the optimizations, compiling with -O3 and processor specific flags (-xW ...
5
votes
1answer
291 views

How can I tell VASP 5.2 is compiled with FFTW3?

When VASP 5 was released, the performance was mostly slower than our make of VASP 4.6. I wrote it off as an optimization issue, and went on in my life. Then, in VASP 5.2, with the release notes, I ...