Search Results

Search: Posts Made By: rpd25
Forum: Programming 01-30-2012
3,677
Posted By rpd25
Selecting files in regular intervals from a folder
Hi,

I need your expertise in selecting files from a folder.

I have files named with convention: filename.i.j
where j is an interger from 1 to 16, for each i which is an integer from 1 to 2000....
Forum: Programming 01-30-2012
2,570
Posted By rpd25
Compare times to run a program - Serial vs MPI
Hi,

I have a fortran program with serial and MPI version. I want to compare the time taken by these programs to run. I use ifort/gfortran compiler.

How to compare the time taken by each...
Forum: Programming 01-03-2012
2,055
Posted By rpd25
Restarting the program
Hi,

I use gfortran to run the code. Some times I need to stop the program
and restart it. On restarting I need to run the program from the beginning.

Is there any script or option available to...
9,272
Posted By rpd25
Thank you very much for your help. I am able...
Thank you very much for your help.
I am able to get the max number in the file name.
9,272
Posted By rpd25
I tried the command. However it gave max file...
I tried the command. However it gave max file number as 99 (although the folder contains thousands of file)

$ls energy.dat.*|sort -rn|head -1
energy.dat.99

Is there any way to store the file...
9,272
Posted By rpd25
Finding max number in filename and opening it
Hi,

I have files named as

energy.dat.1
energy.dat.2
energy.dat.3
...
energy.dat.2342

I would like to find the file with maximum number in the filename (ex. energy.dat.2342) and open it....
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 07:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy