General :: Cygwin Script Compilation (f77) - Compiler Does Not Recognize As Fortran Source Files

Apr 5, 2011

compiler problem (f77) which arises when I try to execute a bash script ("compile" see [1] below) running under Cygwin on WinXP. The script finds the correct file(s) but the compiler does not recognize them as fortran source files. If the script is executed sequentially from the command line then there is no problem.

The directory structure of flh971da contains two subdirectories flh971da/scripts and flh971da/source. The compile script [1] is shown (in part) below. The script changes directory to flh971da/source, and compiles source from subdirectories flh971da/source/n where n=a,b,c etc and places the object files in flh971da/source/nobj n=a,b,c... etc. The response to flh971da/scripts/compile script is given below [2]. It is clear that the compiler (f77) locates the correct source file [4] (flh971da/source/a/a00aaft.f) but does not recognize it as a fortran source file. All relevant files have been processed with d2u. I suspect the problem is with the script, but I have no idea how to fix it.

[Code]....

View 3 Replies


ADVERTISEMENT

CentOS 5 :: Fortran 77 Compiler Cannot Create Executables

Sep 16, 2010

When I tried to install a software, quantum-espresso [URL], I failed to install "espresso-4.2.1.tar.gz"and got a message as the following:

[espresso-4.2.1]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking architecture... x86_64
checking for ifort... ifort

[Code]....

My server is Dell PowderEdge SC1430 (intel CPU) where CentOS 5 and ifort11.0 are installed.

View 1 Replies View Related

Software :: Intel Fortran Compiler - Program Does Not Find New Version

May 19, 2010

I want to compile MFiX which is a simulation software. Therefore, I installed the Intel Fortran Compiler Ver. 11.x When compiling, I can only choose between Ver.9.x and 10.x.

This is a part of the error message when choosing either:

Is there a possibility to link the program to the newer compiler version?

I'm using Centos 5.4.

View 5 Replies View Related

Software :: Fortran Compiler That Can Compile Progs On Machine / But Execute On Windows XP

Jan 7, 2010

i'm currently using the gnu compiler "gfortran" , but i don't think the executable files it creates are compatible with windows XP (though i may be mistaken). my boss needs a few simple programs that i have written, but i will not be able to compile the code on his pc. are there any compilers out there that i can use to create such executables?

View 3 Replies View Related

Fedora :: Compilation Of Vlc Source Code?

Dec 13, 2009

how vlc source code can be compiled?

View 2 Replies View Related

CentOS 5 :: Php Source File Compilation?

May 25, 2011

Can anybody share a link or steps for Php 5.3.3 and Apache 2.2.19 source file compilation

View 3 Replies View Related

OpenSUSE Install :: Install G77 Fortran Compiler On 11.4?

Mar 14, 2011

I need to install fluka.its manual says: To install FLUKA a FORTRAN compiler suitable for your platform is required to generate the FLUKA executable(s). At this moment, the only distributed version of FLUKA requires g77. I cant find g77 in package list.in ubuntu and debian it was.how can i install g77?

View 3 Replies View Related

CentOS 5 :: C++ Compiler Doesn't Recognize Ostringstream

Apr 7, 2011

I am trying to compile a program that uses ostringstream. I have included the following

#include <iostream>;
#include <sstream>;
#include <string>

as well as a bunch of other header files, but the rest of my program compiles nicely so I'll omit those for now. I have already tried

yum install gcc gcc-c++ kernel-devel

but everything is up to date. When I compile my program, I get this error:

GRASPv0.cpp:451: error: ostringstream was not declared in this scope

View 8 Replies View Related

Ubuntu :: Enabling Parallel Compilation Of Kernel Source?

Sep 17, 2010

enabling parallel compilation of kernel source.I've read that setting the CONCURRENCY_LEVEL environment variable should do that. The problem is that I see only one instance of a running gcc in top, notwithstanding I have set "export CONCURRENCY_LEVEL=5".

View 1 Replies View Related

Fedora :: Netgear Router WGR614L Source Compilation Trouble

Dec 27, 2009

i am trying to compile netgear wgr614l sources.i am using fedora 11 [leonidas] for compilation. system core is 2.6.29.4-167.fc11.i686.PAE.

View 12 Replies View Related

Ubuntu :: Stop An Upgrade From Over Writing A Custom Source Compilation?

Dec 13, 2010

I created a customized version of a package, and when I did an upgrade later the source build got overwritten.How can I configure the package system to stop that from happening even if the main repositories have newer versions?

View 6 Replies View Related

Programming :: Get Rid Of Cygwin.dll/Cygwin1.dll In Program Compiled Under Cygwin ?

May 17, 2009

I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.

I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.

I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).

View 1 Replies View Related

General :: Gcc Compiler Is Not Compiling Old C Programming Files Because Of Timestamp?

Nov 20, 2010

I am using makefile to complile all C Programming files. But certain files are not getting compiled and hence its object file is not getting generated. This is happening due to files haven't been modified for a long time. It seems that compiler knows that its object file is there hence no need to complie it actually it is not.

View 14 Replies View Related

Programming :: Bash Scripting With "source" Or . (dot) Operator (Cygwin & Ubuntu)?

Jan 22, 2010

This one is driving me crazy.

My .bashrc is set as:
if [ -d ~/.bashrc.d ]; then
for file in $(/bin/ls ~/.bashrc.d/); do

[code]....

View 3 Replies View Related

Programming :: Generating Files With Different Names At Each Loop In Fortran?

Nov 7, 2010

I am trying to write a loop to open four main-data-files. At each open of the main-data-file, I want the loop to open another four sub-files and split the data from the mail-data-file according to the creteria and dump into the four files. When the loop goes to the second main-data-file, it shall generate another 4 sub-files with different file name. And the process goes on. That means I will have total of 16 sub files for the four main-data-files. Each four files from the 16 files shall have specific name on it. Based on the code which I given below, I would say when the file at UNIT=100 is opened, 4 new files needed to be opened as well. They are:

maximum_dist_001_064.dat
maximum_dist_065_128.dat
maximum_dist_129_192.dat
maximum_dist_193_256.dat

View 1 Replies View Related

Software :: Segmentation Fault While Porting Project C / C++ / Fortran Files From Windows?

Feb 2, 2011

i am getting segmentation fault while porting project having c,c++,fortran files which has been developed in vc++ windows to linux.this project is working fine in windows but not in linux.when i runned in linux using makefile it is going through some output but again am getting segmentation fault.

View 1 Replies View Related

Software :: Reading And Writing SAC (Seismic Analysis Code) Data Files In Fortran Codes

Dec 2, 2008

I synthesized a seismogram by using Fortran codes, I need plot the synthesized seismogram and the data together, so I can verify the accuracy of code. Now I encounter a question: how to read the SAC data by Fortran code, I have searched some codes on Internet, the details as follow:the velr12a.sac is my data file.

Code:
c read sac file
PROGRAM RSAC
PARAMETER (MAX=1000)
DIMENSION YARRAY(MAX)
CHARACTER*10 KNAME

[Code]....

View 2 Replies View Related

Fedora :: Make A Nachos Directory And Download The Nachos Source Code And Cross Compiler?

Apr 28, 2011

I am trying to install NachOS on fedora, i make a nachos directory and download the nachos source code and cross compiler, then i extract the zip files and patch the make files and everything is okay till now. but when it comes to compiling nachos, i followed these steps.

* ~/nachos> cd NachOS-4.0
* ~/nachos/NachOS-4.0> cd code/build.linux
* ~/nachos/NachOS-4.0/code/build.linux> make depend

[code]....

View 10 Replies View Related

General :: Text/source Files: What Is The EOF Indicator

Nov 10, 2010

i am working in gcc compiler i am opening a file using file pointer writing in the file ,entering the text from keyboard tell me the end of file indicator after entering the text

View 2 Replies View Related

General :: Update Packages From Source Files?

Dec 6, 2009

I'm not to sure if i'm using the right terminology but im trying to install rrdtool and it needs all these dependencies. One of them I have installed but it isn't up to date.glib-1.2x needs to updated to 1.17 or higher. How do i go about updating this? I downloaded the source and did ./configure && make && make install but this didn't update it.Also trying to install libxml-2.0 to 2.6.31, im getting a whole list of dependicies.

View 2 Replies View Related

General :: Kernal Source Files Are Not Found In FC-12?

Jan 7, 2011

I am Vamsi from Alcatel-Lucent. We have a software to configure the wireless broadband devices to the Linux machine. Till now, it was running on FC-5. When we need to add any new device, we used to add it in airprime.c, sw.h and usb-serial.c under /usr/src/linux/drivers/usb/serial directoy.

Now we are trying to upgrade the system to FC-12. But I am not able to find any kernal files under /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/drivers/usb/serial directory. I saw in some websites that the kernal files can be found at: /root/rpmbuild/SOURCES/linux-2.6.31/drivers/usb/serial. But in my system, there is no rpmbuild directory.

View 4 Replies View Related

Fedora :: Install *.tar.gz Files - No Acceptable Compiler?

Sep 25, 2010

for some reason I don't know how to install *.tar.gz files, I ommitted some of my files listed in the code after the ls command for simplicity

[Code]....

View 9 Replies View Related

General :: Find The Bash Source Files Of Programs In Mac OSX?

Jan 6, 2011

I am currently writing some convenience methods for my terminal in my bash_profile and am sure if what I am writing is "the best way". I figure a good way to verify whether what I'm doing is right or not would be to find some source code of more established programs and see how they do it.My question then is, where can I find this code on my Mac? An example is, with Macports installed, where is the source code that opens the port interactive console when I type nothing but "port" in my shell?(I added Linux in the title even though I am on a Mac because I assume the answer would be the same for both)

View 3 Replies View Related

General :: Difference Between Kernel Source Files (RPM And SRPM)

Aug 3, 2010

What is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?

View 2 Replies View Related

General :: How To Work On Cygwin

Jul 28, 2010

As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:

System1@system ~
$
MY DOUBT IS :

I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.

View 3 Replies View Related

General :: Fpermissive Error Of Gcc In Cygwin?

Apr 15, 2011

I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible

View 1 Replies View Related

General :: Installing Libraries For Cygwin?

Mar 19, 2010

I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?

g++ - the version 4.4
graphviz
gnuplot
plotdrop

[Code].....

View 1 Replies View Related

General :: Can't Copy And Paste Into Cygwin

May 7, 2010

I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?

View 7 Replies View Related

General :: All Commands Exist In Cygwin?

Jan 25, 2011

I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.

View 4 Replies View Related

General :: Compiling Using Cygwin - Error Not ELF

Oct 14, 2010

New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:

Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2

Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved