Eh. Hopefully he's learned something about the terminology involved in function minimisation. Plus I got to show off my leet Fortran skillz. And I got to install a F77 compiler for my windows partition.
Announcement
Collapse
No announcement yet.
Apolyton Math Question. bring your calculus hats
Collapse
X
-
12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
-
Since we're on the subject.
(yeah right )
I have a computer question, somewhat math related.
I'm guessing KH can help but anybody else would like to chip in is more than welcome.
There's this program called "nauty" (http://cs.anu.edu.au/~bdm/nauty/)
which is one of the best program to compute graph automorphism groups.
It is written in C, but as far as I understand, only runs on UNIX.
I've succeeded in installing both DJGPP and Cygwin both.
The user manual (http://cs.anu.edu.au/~bdm/nauty/nug.pdf section 10) for nauty tells me to either to
1.run the shell script "compile" and then "make nauty"
2.edit the header files (.h) and then manually compile.
I'm basically a UNIX virgin and I really have no idea what to do at this point.
Basically, I'd like to know the minimum that I need to know to be able to compile/run the program.
Comment
-
No real cygwin or djgpp experience.
But nauty seems to compile and work properly under a *nix environment without any problem.
Did you manage to unzip/untar the file yet?12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
Comment
-
Once you've done that, open a terminal in your emulator. cd to the nauty22 directory (or whatever version you have). type in "./configure" and hit enter. wait. shouldn't have any errors (i'm assuming your emulator comes with a functioning version of gcc). then type in "make all" and hit enter. wait.
now you should be able to run the included utilities.Last edited by KrazyHorse; April 10, 2007, 10:36.12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
Comment
-
I don't know anything about *nix in general either.
Sure, I uncompressed the files.
It's basically a bunch of .c files, some .h and some other stuff.
Do you think I should try manually compiling with a C compiler under windows.
I don't anything about this stuff, but how does a C program depend on the OS to compile?
Comment
-
Originally posted by KrazyHorse
Once you've done that, open a terminal in your emulator. cd to the nauty22 directory (or whatever version you have). type in "./configure" and hit enter. wait. shouldn't have any errors (i'm assuming your emulator comes with a functioning version of gcc). then type in "make all" and hit enter. wait.
now you should be able to run the included utilities.
I played around in the emulator with a UNIX tutorial.
I was able to cd around a bit and create folders etc...
But I couldn't understand how my "root" or "home" was related to my actual hard drive.
Meaning I couldn't find my nauty directory from the emulator.
Maybe I needed to edit what my root was before running the emulator?
EDIT:
Anyway, for now, I'll try to see if I can avoid the whole UNIX business and try to compile it manually somehow.Last edited by Lul Thyme; April 10, 2007, 11:27.
Comment
-
Originally posted by Lul Thyme
I don't know anything about *nix in general either.
Sure, I uncompressed the files.
It's basically a bunch of .c files, some .h and some other stuff.
Do you think I should try manually compiling with a C compiler under windows.
I don't anything about this stuff, but how does a C program depend on the OS to compile?
That's my uninformed guess.12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
Comment
-
Originally posted by Krill
I'm suprised MRT didn't know about the function minimisation anway. And we all know you like to show off your superiority KH"I hope I get to punch you in the face one day" - MRT144, Imran Siddiqui
'I'm fairly certain that a ban on me punching you in the face is not a "right" worth respecting." - loinburger
Comment
-
Originally posted by KrazyHorse
The c program itself will compile properly, but my guess is that the utilities rely on some of the properties of *nix to deal with things like writing files, redirecting output, displaying **** etc.
That's my uninformed guess.
Comment
-
Originally posted by MRT144
im in a mid level algebra class right now. we are solving for slopes of graphs. hence my total ignorance of the vocabulary and process of solving the question.
Was it civ-related?
Can you explain where the question came from?
Also, how old are you?
Unless I have you confused with someone else, I thought you were over 20. It's a bit surprising to see people studying algebra at that age. By then, they have either gone through it or abandoned forever.
Although in any case, it's never too late for more math
Comment
-
Uhhh...no, I don't think so. I think that once you've compiled into an executable its ability to run is highly platform dependent. That's why I had to compile my fortran routine under a Windows compiler on a win-32 system to get a win-32 executable. This executable will not run under *nix, and vice versa.
But I'm not exactly an expert in this. Or even competent.12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
Comment
-
by the way, why don't you try creating a directory using your emulator (make sure it has a unique name) and then search for it using the windows search function (in order to relate the two directory structures).12-17-10 Mohamed Bouazizi NEVER FORGET
Stadtluft Macht Frei
Killing it is the new killing it
Ultima Ratio Regum
Comment
-
Originally posted by Lul Thyme
Btw I'm kind of interested..
Was it civ-related?
Can you explain where the question came from?
Also, how old are you?
Unless I have you confused with someone else, I thought you were over 20. It's a bit surprising to see people studying algebra at that age. By then, they have either gone through it or abandoned forever.
Although in any case, it's never too late for more math
It has to do with chopping down forests."I hope I get to punch you in the face one day" - MRT144, Imran Siddiqui
'I'm fairly certain that a ban on me punching you in the face is not a "right" worth respecting." - loinburger
Comment
-
Originally posted by Lul Thyme
Btw I'm kind of interested..
Was it civ-related?
Can you explain where the question came from?
Also, how old are you?
Unless I have you confused with someone else, I thought you were over 20. It's a bit surprising to see people studying algebra at that age. By then, they have either gone through it or abandoned forever.
Although in any case, it's never too late for more math
I dont believe that there is an age limit to learning, as I feel much better able to learn concepts of math now than I did when I was 15-16, if only because I have more discipline and desire.
It also explains a lot of other things about me
"I hope I get to punch you in the face one day" - MRT144, Imran Siddiqui
'I'm fairly certain that a ban on me punching you in the face is not a "right" worth respecting." - loinburger
Comment
Comment