Changes between Version 5 and Version 6 of FortranApps


Ignore:
Timestamp:
Aug 9, 2007, 1:35:38 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FortranApps

    v5 v6  
    7070
    7171You should not use the -x options!
     72
     73== Instructions from Martin Korth ==
     74(can someone please integrate these with the above?)
     75
     76Under linux:
     77 1. compile BOINC libs the standard way (you need boinc.a, boinc_api.a, and for
     78graphics also boinc_graphics_lib.a)
     79 2. compile boinc_api_fortran.o
     80 3. compile own graphics lib if needed
     81 4. compile app files (for us: 'ifort -O2 ...' and 'icc -O2 ...')
     82 5. link application (for us: 'ifort -static-libcxa ...')
     83
     84link with : boinc_api_fortran.o, boinc.a, boinc_api.a, boinc_graphics_lib.a,
     85C-(runtime)-libs (dl, nsl, gcc_s, stdc++, pthread, m, c, ... - as they are
     86not default for the fortran compiler), and own graphics lib
     87
     88Under windows:
     89 1. compile BOINC libs the standard way (you need libboinc.lib, libboincapi.lib)
     90 2. compile boinc_api_fortran.o (at the moment I still use my old solution with an interface for every fortran function, as shown on the BOINC fortran page)
     91 3. compile own graphics lib if needed
     92 4. compile app files (for us: 'ifort /nologo /MT /O2 ...'  and 'cl /nologo /MT /O2 ...') - btw: 'nmake' makes life easier ...
     93 5. link application (for us 'ifort /nologo /MT ...'
     94
     95link with: libboinc.lib, libboincapi.lib, own graphics lib,
     96gdi32.lib user32.lib opengl32.lib glu32.lib advapi32.lib delayimp.lib
     97freetype.lib glut32.lib (you may need /link /nodefaultlib:libc.lib)