Hi all,
I am working on DFT calculations using SIESTA. I have obtained the Hamiltonian file (.HSX) from the calculations. But, I cannot read the file it. How do I read the .HSX file .
Hey all,
This may be a bit of a stupid question, but I'll ask it anyway... For the past weeks I've been running some DEM (discrete element method) simulations, and each simulations produces a couple output files and has different input variables/commands stored in a separate file. Already I...
Hi all,
Thanks in advance!
I'm almost new in Fortran, and I'm having some troubles with a Fortran program. I've some input data files named with numerical values like
"Input_A=0.00_B=0.00"
"Input_A=0.10_B=0.01"
"Input_A=0.20_B=0.02"
"Input_A=0.30_B=0.03"
"Input_A=0.40_B=0.04"
...
...
I am making a prototype, all is ready, and the first frame of it will be made using foam and smaller moving parts using a 3d printer. Now I figured instead of cutting the foam myself I could use a CNC at a local "prototyping lab".
But in order to do that I obviously have to give them all my CAD...
I am currently working on a C++ program for school. I am actually not finding too much difficulty in constructing the functions, enum-types, arrays and structs, however, I am finding great difficulty in using on ifstream variable to open multiple files.
I have posted the entire code that I...
My camera only produce .MOV files. I want to record some demo video that needed higher quality audio than the camera can record. I have AudioBox USB with Studio One software for recording and editing the audio. I need to find a free software that can edit the video by removing the original audio...
Hi all.
I have 1200 .dat files containing x,y,z . What I need to do is to open all the files and choose only one single point from all the files, in example point (x120,y120,z120) from all 1200 .dat file and save it into new .dat file. Can anyone teach me how to do that either in fortran or...
Dear Friends,
As you know, one of the best preprint servers for physics papers is arXiv.org, and almost everybody desires to post her/his paper on this server so that it can be commented/corrected/improved by peer reviewers before publishing.
However, the price is that arXiv.org is...
Hi,
I have some *.mat files and I need to read them automatically, they are like:
PT2020-RSK1.778-ZONE49.8962.mat
PT2020-RSK2.776-ZONE47.5451.mat
PT2020-RSK3.776-ZONE46.041.mat
PT2020-RSK4.7695-ZONE56.5417.mat
PT2020-RSK5.7667-ZONE48.1113.mat
Are there any ways to load them...
Hi!
I would like to compile some *.for files (only standard Fortran77 statements) which only contains some subroutines and functions and link them with a *.res resource file and a *.lib library file (supplied by developers) into a windows executable.
Is there any FREE program to achieve...
Is anyone aware of a way to search through .zip files on the internet (such as in an archive site) without having to download and extract the files? For example, if I have a search phrase that may be in a .doc file inside a .zip file which is potentially stored with many other .zip files, I...
In my project I basically need to plot 3D color coded surface graphs using MATLAB taking input from multiple .dat files (i have 1000 .dat files). In each file I have parameters x and y, and when I take multiple files, each having a different value of z, I can finally plot a graph. so does anyone...
I've been (trying) to learn astronomy, more specifically image reduction, using IRAF. I have, though, been having problems with the fits files from the Sloan Digital Sky Survey site. For example from this archive. I can't do anything with them. Implot, imstat all give errors. Using python...
I currently have a great thirst for reading up all sorts of Mathematics/Physics textbook which I have obtained as PDF files on my Nexus 7. I currently use two apps to use to books. These apps are Adobe Reader, and aldiko. I feel like these apps aren't good enough for organizing and locating the...
In my Fortran program, I want to read data from various files whose size I do not know in prior. The input files which I am trying to read may contain different number of entries. If I have same and known number of entries in all files (say 386), I can use something like...
Someone sent a Google Doc link to a number of collaborators (https://docs.google.com/file/etc ). I want to edit it so that everyone can see my input, how should I do it?
I've done File>Open with Google Docs, but then it's only in my personal Drive. If I follow the original link again the file...
Hi, I'm trying out this sample input file from this website (http://www.phoenix-int.com/~AnalysisServer/FileWrapper/example.html), but I couldn't get the same output as shown. Below are my input and output files:
INPUT FILE...
Hi,
I am trying to run a simulation written mostly in Fortran on Linux. The User's Manual says that "To run a simulation one needs to read several input files." Then, it lists a bunch of files. I was wondering what it means by that and how I "read" the files?
Thanks in advance,
Naomi
Hello. I am using windows 7, MikTex, and Texmaker to create LaTeX files. I am a novice user, and am confused about where to locate specific files such as packages, .sty files, and .cl files. I use MikTex's package manager to download most, and it puts them somewhere where they are then...
Can anyone recommend a method to have all pdf files in a given folder automatically OCR?
My scanner saves files as pdf, but I would like them to be searchable.
Thanks in advance.
I am trying to figure out if it would be possible to develop simple program to preform the following task:
If I have a list of drawing numbers contained within excel an file as such,
1-02632-M-07502 0002/03
1-02632-M-07502 0003/02
1-02632-M-07502 0004/08
1-02632-M-07502 0005/02...
Hi Everyone!
This is my first question for programming. I have very little experience, so if you could explain as simply as possible.
I have a list of output that actually looks like this:
# Query: 2678.m000169 conserved hypothetical protein
# Database: EST_matched_Genome.fas.txt...
I have two .txt files with a bunch of numbers in them, below each other, like this:
File 1:
3
4
5
File 2:
1
2
1
Now I want to subtract the numbers in file 2 from the numbers in file 1 and get the results in a new .txt file:
File 3:
2
2
4
Very simple. I was going...
Guys. I really need help. I have been working in this little problem for hours. I had a problem in array reading when I opened more than 1 files, it seems like an array with different names mixed each other. Here is my code
integer, parameter::size=11
real, dimension(101) :: cldata...
After receving $249.1 million grant from the US Department of Energy and $125 million in tax credits and incentives from the Michigan Economic Development Corp., A123 Systems is filing for Chapter 11. What remains to be seen is how the debtors will run the company and if the jobs promised here...
text files consists of 0&1 bits. But in ASCII, Most Significant Bit(MSB) is 0, so we have more 0s than 1s. Assume that we draw bits at random. Question: What is probability of drawing 0 in 2nd time, given 1st drawing was 0?
My Analysis:
From bayes formula, Pr(0) = 1/8*1 + 7/8*1/2 = 9/16, so...
What's the best portable device for reading mathematical PDF files? - one that would show equations and graphs clearly? I'm not particularly interested in the general field of electronic books or wireless connectivity, but It would be nice to have portable device for the many free math PDFs...
HI guys,
I have MXF files from a camera that I need to import into Final Cut Pro X. I am not able to convert the files into anything usable. Can you please let me know step by step how to convert my MXF files into a file format that I can import into FCP X.
Hello.
I'm attempting to write some data in different files (each thread write in each file), but I'm getting an error saying: 'File already opened in another unit'. I'm using the function OMP_get_thread_num() from OpenMP library in order to open individual files in individual threads.
!$OMP...
Hi to all. I'm sorry for my english, but I come from Italy.
My CASIO fx-9860GII SD calculator see the text files who I put near its SD, and I can copy they on main memory, but I can't open they to read! How can I read the text files by the calculator? Must I use a particular software to...
Hello,
I am trying to learn Powershell and for my first exercise I started reading a file that we use at work. The file is pipe delimited and contains a header row. The field names contain underscores. Here is the header row (wrapped to fit this window).
H|Seq_Nbr|Data_Key |Plan_Type...
I have a .txt file with 100,000 integers from 1-100,000, with each integer in a newline. I am facing a problem in using the fgets function. How do I read the integers into an array?
#include <stdio.h>
//Program to count number of inversions in an input file of integers using Brute force...
Hi to all.
These days i am working on a presentation using latex beamer. A really usefull thing is to present your animated graphs.
I want to include some animated graphs in latex. I have some animated gif files but animated gif files are invalid in latex beamer.
So i got some info...
Hello oeveryone
i've got many txt files each with a different name, such as
filename1.txt
filename2.txt
...
i've got another txt in which I've got the list of the name
of the files
i want to allocate in a vector of characters che name of the files
and use this to open all files...
My Laptop started freezing with random interruptions in both sound and image while playing avi. files, no matter which video player I am using (Windows Media Player, Media Player Classic, VLC). Other video files, like mkv. play with no problems. I have downloaded the latest k lite full codec...
Hello, I'm trying to make part of a code that reads a csv file with data containing the date and time, and the wind speed at that time, then does various output things.
When I copy and paste 1000 entriesinto a csv file and ru it, it works great, but if I use the file that's about 6,000kb it...
I have an account on a Unix cluster where I log in through an SSH client (I'm using SecureCRT).
I need to be able to transfer files from my windows to PC to my unix acount and vice versa, does anyone know how to go about doing that? There is a "Transfer" menu in the SecureCRT window but it...
I'm new to Microsoft Visual Studio (2010) & I'm a bit confused by the way Visual Studio handles fortran files. I saved a set of data in one console and tried to read the data from the created file in another console. I receive the next message:
file opened correctly!
forrt1: severe<24>...
Homework Statement
I'm not sure if this is quite where this belongs since it's not homework really, but I just need help programming and I figured this would be the place to ask. It's related to undergraduate research I'm doing so if that's not kosher just say so!
I want to write a Python...
How do i create a .txt file using a batch file with something written on it.
For example, i want to write this:-
i>>n;
i<<n;
a
b
c...
It has multiple lines and '>', so echo (text) >> test.txt doesn't work.
Is there a better way?
Homework Statement
I have a really basic task in which I have to make a shell script, pipe ls to grep and
only output files that has capitals in it, meaning no lower case, no symbols, no numbers, etc.
I've been searching all over google and my notes but I've been doing this over an hour...
I want to get a program to edit pdf files. I notice there are still the old 6.0 standard edition available very cheap. Any short coming get that as I am too cheap to get the latest or even the 9 version. I am not trying to do video and all the fancy stuff, just want to create document with...
Dear all,
I need some help with Gaussian. I would like to know if it is possible to make cube file of the density of the single molecular orbital in Gaussian (not just overall or alpha and beta spin density) and if it is possible, wuold you be so kind to tell me how to do that?
And also, is...
Homework Statement
An office furniture manufacturer that makes modular storage files offers its customers two choices for the base and four choices for the top, and the modular storage files come in five different heights. The customer may choose any combination of the five different-sized...
I'm writing a final report, and I've got a bunch of source code that I'd like to have readily available to anyone reading the document. I won't have any control over the files once I hand it in, so I'm a little wary about just putting everything in the same folder and trusting that everything...
(Programming and VS newb here.)
I'm hoping someone has had (and fixed!) this problem. I'm working on a project for my CS-150 class but I'm having some tech troubles. I'm running Visual Studio 2010 Ultimate (downloaded via MSDNAA) and it (or something else) seems to be deleting my project.exe...
Homework Statement
I am currently doing my thesis, and the gravimetric analysis data I receive from a partner laboratory is in the form of tables in PDF Files. I need to plot the data. It would be tedious if I copy and paste every cell manually, so I decided to automate it using a program...
Dear all,
I want to read data from a file which has four column and process the data for further calculation. After running the code it keeps given me 0.00000 as output. What do i do? Here is the structure of the code
program new
Implicit none
integer,parameter ::Nmax=1000
Integer ...
Hello all. I am far from a programmer, but have found a lot of use out of a batch file that I found. The file is as follows:
dir /s*.*>dirlist.txt
This file, typed into a notepad file, then saved as a .bat file has worked perfectly on my XP system. I tried to use in in W7, and it just...