mintty not found

For scripts to aid with computation or simulation in cellular automata.
Post Reply
danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

mintty not found

Post by danieldb » October 11th, 2015, 7:47 pm

ARGH! I can't get apgnano to work, because I can't find the cygwin terminal. The desktop shortcut says "Windows is searching for minnty" and I need to know where the cygwin terminal is to use apgnano.

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 11th, 2015, 7:49 pm

never mind! Happy searching!

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 11th, 2015, 7:53 pm

Now I get an error saying "./apgnano is a directory" What do I do?

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 11th, 2015, 8:03 pm

Now this when I type make:

$ make
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP main.cpp -o main.o
In file included from main.cpp:38:0:
life128.h: In member function ‘int life128::totalPopulation()’:
life128.h:1714:74: error: unknown register name ‘xmm3’ in ‘asm’
: "rax", "ebx", "xmm0", "xmm1", "xmm2", "xmm3", "memory");
^
life128.h:1714:74: error: unknown register name ‘xmm2’ in ‘asm’
life128.h:1714:74: error: unknown register name ‘xmm1’ in ‘asm’
life128.h:1714:74: error: unknown register name ‘xmm0’ in ‘asm’
life128.h: In member function ‘void life128::updateTile(SimdTile*)’:
life128.h:1370:183: error: unknown register name ‘xmm15’ in ‘asm’
: "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", "xmm8", "xmm9", "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15", "rax", "rcx", "ebx", "memory");
^
life128.h:1370:183: error: unknown register name ‘xmm14’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm13’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm12’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm11’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm10’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm9’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm8’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm7’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm6’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm5’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm4’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm3’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm2’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm1’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm0’ in ‘asm’
makefile:48: recipe for target 'main.o' failed
make: *** [main.o] Error 1

User avatar
Billabob
Posts: 158
Joined: April 2nd, 2015, 5:28 pm

Re: mintty not found

Post by Billabob » October 12th, 2015, 4:33 am

First, type

Code: Select all

cd apgnano
Then type

Code: Select all

make
...and then you can start searching.

EDIT: Sigh.
▄▀
▀▀▀

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 12th, 2015, 11:48 am

Still didn't work.

User avatar
biggiemac
Posts: 515
Joined: September 17th, 2014, 12:21 am
Location: California, USA

Re: mintty not found

Post by biggiemac » October 12th, 2015, 9:49 pm

I got that wall of unknown register errors when I first tried to run apgnano. I think it was because when I installed Cygwin I didn't include all the requisite add-ons. I redid the Cygwin installation and instructed it to also install the g++ compiler and I think that did the trick.
Physics: sophistication from simplicity.

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 13th, 2015, 4:16 pm

I give up. I can't even find a good tutorial. I downloaded gcc-g++, git, and g++ 3 times and it still doesn't work. Bye!

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: mintty not found

Post by calcyman » October 15th, 2015, 4:03 am

Do you have the correct processor architecture (i.e. x86-64)? If so, are you running the correct version of Cygwin (i.e. 64-bit)?
What do you do with ill crystallographers? Take them to the mono-clinic!

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 15th, 2015, 3:29 pm

calcyman wrote:Do you have the correct processor architecture (i.e. x86-64)? If so, are you running the correct version of Cygwin (i.e. 64-bit)?
OH SNAP! My computer is 64-bit, and I was running the 32-bit installation. Shouldn't the 32-bit be called "setup_x86_32"?

Any way, I will try the 64-bit installation.

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 15th, 2015, 3:47 pm

Now it gives me some different errors.
$ make
g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP main.cpp -o main.o
In file included from /usr/include/wchar.h:6:0,
from /usr/lib/gcc/x86_64-pc-cygwin/5.2.0/include/c++/cwchar:44,
from /usr/lib/gcc/x86_64-pc-cygwin/5.2.0/include/c++/bits/postypes.h:40,
from /usr/lib/gcc/x86_64-pc-cygwin/5.2.0/include/c++/iosfwd:40,
from /usr/lib/gcc/x86_64-pc-cygwin/5.2.0/include/c++/ios:38,
from /usr/lib/gcc/x86_64-pc-cygwin/5.2.0/include/c++/ostream:3 ,
from /usr/lib/gcc/x86_64-pc-cygwin/5.2.0/include/c++/iostream:39,
from main.cpp:17:
/usr/include/sys/reent.h:14:20: fatal error: stddef.h: No such file or directory
compilation terminated.
makefile:48: recipe for target 'main.o' failed
make: *** [main.o] Error 1

User avatar
dvgrn
Moderator
Posts: 11166
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: mintty not found

Post by dvgrn » October 15th, 2015, 4:21 pm

danieldb wrote:Now it gives me some different errors...
Thanks for the detailed error text. I don't pretend to recognize the problem, and so I might well be giving useless advice here. But possibly StackOverflow can come to the rescue:
StackOverflow wrote:fatal error: stddef.h: No such file or directory

The error is because your gcc-core package and gcc-g++ are not of the same version. Either downgrade one of them to solve the problem or update both the libraries. Updating both the libraries is the recommended way.

User avatar
Scorbie
Posts: 1693
Joined: December 7th, 2013, 1:05 am

Re: mintty not found

Post by Scorbie » October 15th, 2015, 9:59 pm

Warning: This is not a solution, just weakly on-topic.

I tried to compile apgsearch on a 64bit machine with TDM-GCC 64bit ( which says it has OpenMP? support. Or was it openGL? It supported the multithreading tool that apgnano uses. ) I failed because the compiler gives literally cryptic error messages. (It looks as if the font is borken) Well, I think it said there is a problem with OpenMP and happyhttp and I got it working in my local machine after removi g happyhttp.

What I haven't tried is compiling without multithreading. I guess it will be without multithreading, but I heard that using cygwin would slightly decrease performance so I am not sure whether how slower it would be without OpenMP and without Cygwin.
Currently I moved to an old netbook which barely breathes, so I'm not expecting any kind of testing in my computer, sadly.

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 21st, 2015, 7:58 pm

Do I have to download ALL the gcc-related packages or just gcc?

thunk
Posts: 170
Joined: October 3rd, 2015, 8:50 pm
Location: Central USA

Re: mintty not found

Post by thunk » October 21st, 2015, 9:06 pm

danieldb wrote:Do I have to download ALL the gcc-related packages or just gcc?
No, just make sure to check the boxes for the three packages 'gcc-g++', 'git' and 'make'.
"What's purple and commutes?
The Evanston Express."

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 22nd, 2015, 4:06 pm

ALRIGHT I FIGURED IT OUT! I had to download the dependencies. I can start searching! I will be using my twitter handle, @danielc2034

User avatar
dvgrn
Moderator
Posts: 11166
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: mintty not found

Post by dvgrn » October 22nd, 2015, 4:15 pm

danieldb wrote:ALRIGHT I FIGURED IT OUT! I had to download the dependencies. I can start searching! I will be using my twitter handle, @danielc2034
Do you have any more details on the problem that might help someone else? Was it just gcc-g++, git and make, or was there a "download dependencies" checkbox or something like that?

I got through the Cygwin download all right after a few tries, but now I don't remember what the options were for doing things subtly wrong.

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 22nd, 2015, 4:20 pm

dvgrn wrote:
danieldb wrote:ALRIGHT I FIGURED IT OUT! I had to download the dependencies. I can start searching! I will be using my twitter handle, @danielc2034
Do you have any more details on the problem that might help someone else? Was it just gcc-g++, git and make, or was there a "download dependencies" checkbox or something like that?

I got through the Cygwin download all right after a few tries, but now I don't remember what the options were for doing things subtly wrong.
Yeah it was just make, git, gcc-g++, and a depencdencies checkbox.
Also, is there a way in cygwin to make Ctrl+C not quit? I was so close to my first haul (1000000 soups) and I hit Ctrl+ C to copy and closed it by accident.

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: mintty not found

Post by calcyman » October 22nd, 2015, 6:00 pm

danieldb wrote:Also, is there a way in cygwin to make Ctrl+C not quit? I was so close to my first haul (1000000 soups) and I hit Ctrl+ C to copy and closed it by accident.
Yes, put an ampersand on the end of the line, like so:

Code: Select all

./apgnano -n 5000000 &
That tells bash to run the command as a background process. The program will still output to the terminal as usual, but you can continue typing commands into the terminal as though there were no program running*.

* However, this can lead to a confusing screen if you and apgnano are simultaneously writing to the same display. It still behaves as though the channels were separate, though.
What do you do with ill crystallographers? Take them to the mono-clinic!

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: mintty not found

Post by danieldb » October 23rd, 2015, 4:15 pm

calcyman, is there a way to see your total uploaded soups?

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: mintty not found

Post by calcyman » October 24th, 2015, 5:16 am

danieldb wrote:calcyman, is there a way to see your total uploaded soups?
This is the closest implemented feature to what you're describing:

https://catagolue.appspot.com/haul/b3s2 ... anielc2034

It's accessible from your user page, which will also display any interesting objects you discover:

https://catagolue.appspot.com/user/@danielc2034
What do you do with ill crystallographers? Take them to the mono-clinic!

Post Reply