creating a batch file within FORTRAN

I have a set of output files that are created by a FORTRAN program in a directory, with which I would like to perform a set of operations such as copy, rename, and execute another FORTRAN executable using these output files as the arguments, all in a batch mode. Is there a way in FORTRAN to perform all this operations together in one FORTRAN program? Thank you in advance for any help/suggestions in this regard.


Accessing a REST Based Database Backend From an Android* App


The objective of this article is to show a method for accessing a REST based database backend from an Android* app using MongoDB* and Spring IO*.


Table of Contents
  1. Introduction
  2. Tools Used
    1. Environment Setup
  3. Creating the Database
  4. Accessing the Database
    1. Setting up the Android Project & Permissions
    2. Parsing the JSON Response
    3. Manipulating the Database
  5. Summary



  • Developers
  • Android*
  • Linux*
  • Android*
  • Java*
  • Advanced
  • Beginner
  • Intermediate
  • Android
  • rest
  • database
  • backend
  • Development Tools
  • shared library load issue


    I'm trying to run an executable in mic. I built it in a host with the following command: 

    icpc -mmic -std=c++0x main.cpp.

    The code uses _Cilk_spawn and _Cilk_sync functions. When I copied the executable to the mic, and tried to run it, saw following error: 

    ./a.out: error while loading shared libraries: cannot open shared object file: No such file or directory

    I set LD_LIBRARY_PATH env variable:

    Intel® is sponsoring a FREE event for developers on February 19th, 2015

    Intel® is sponsoring the monthly Phoenix Mobile Meetup in Phoenix, AZ on February 19, 2015.  Intel® will be giving a technical introductory presentation about Intel® Edison.  The Intel® Edison platform is a solution designed to unlock the barriers to rapid product innovation.  The presentation will discuss the various features & capabilities of Edison and how it ties into mobile & the internet of things(IOT).  Come join us at University of Advancing Technology in the Theater at 6:30p.m.  You could be one of the lucky raffle winners that will receive an Intel® Edison Kit.

    Graphics Performance Analyzers Version 2014 R4

    Graphics Performance Analyzers Release 2014 R4 includes the latest toolset featuring support for DirectX* 9, 10, 10.1, and 11.0/11.1/11.2 workloads on Windows* and OpenGL* ES 1.X/2.X/3.0/3.1 workloads on Android.
  • Developers
  • Android*
  • Apple OS X*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Game Development
  • Intel® Integrated Native Developer Experience (INDE)
  • Graphics Performance Analyzers
  • Microsoft DirectX*
  • OpenGL*
  • Game Development
  • Graphics
  • Bug with USE renaming, inlining, and optimization report

    I believe I found a bug with the Intel 15.0 compiler where a USE-renamed subroutine shows up in the optimization report under the USE-renamed name, rather than the subroutine's actual name.  I'm not sure if this is the compiler's intended behavior, but it seems unnecessarily confusing.  Consider the code:

    Poor Performance with function calls

    Hello Everyone,

    i am doing a small test on Xeon Phi that calculates "pi" with "Calculate Pi Using an Infinite Series", see . In my inplementation a small function is called in each iteration, i.e. lots of function calls.  This function is declared for target. It suprises me why my program is so slowly. 

    And after I have inlined this function, it works much better, about 20 times...

    I know function calls are expensive, however so expensive couldn't be.

    Best Regards,


    Subscribe to Linux*