Search scripts for Mac
-
- Posts: 126
- Joined: April 5th, 2009, 7:30 am
Search scripts for Mac
I want to search for patterns with search programs like gfind and Hersrch. But I have a Mac.
LifeLab is nearly useless for searches due to loads of limitations. I could run a GUI-based version of windows search programs with CrossOver, though... I know lifesrc has a GUI version, so I can use that, but what about gfind and Hersrch? I want to find Herschel conduits.
PS: I bet the life community as a whole would find a LOT more patterns from searches if it were easy for the common Windows user to run searches.
LifeLab is nearly useless for searches due to loads of limitations. I could run a GUI-based version of windows search programs with CrossOver, though... I know lifesrc has a GUI version, so I can use that, but what about gfind and Hersrch? I want to find Herschel conduits.
PS: I bet the life community as a whole would find a LOT more patterns from searches if it were easy for the common Windows user to run searches.
Re: Search scripts for Mac
That is to say, elementary Herschel conduits? Hersrch can only chain existing conduits together to satisfy given constraints, and not create them from scratch. If you want to find new Herschel conduits, then ptbsearch is probably the best program to use.I want to find Herschel conduits.
It is easy enough -- just create a batch file, then run it. It's not the difficulty of setting up a search that has prevented a micro-reflector showing up; it is the amount of time it takes to probe a large multi-catalyst ptbsearch.PS: I bet the life community as a whole would find a LOT more patterns from searches if it were easy for the common Windows user to run searches.
If you only use opaque catalysts, however, the search runs much faster. An opaque 5*{block,eater,tub} is not so demanding -- Paul Callahan did that search back in the mid-90s. With today's processing power, we could probably push it to 6 catalysts in a reasonable amount of time.
What do you do with ill crystallographers? Take them to the mono-clinic!
-
- Posts: 111
- Joined: May 19th, 2010, 7:35 am
- Location: Cambridge, UK
Re: Search scripts for Mac
Awesomeness wrote:
and:
You do know what gfind does, don't you? Just checking.
BTW, if you are going to use Hersrch, you might want to read the excellent tutorial written by Dave Greene elsewhere in this forum:
viewtopic.php?f=9&t=132
and:
Presumably your issue, which isn't explicitly stated, is that there aren't GUI versions of these programs. These programs were written by, and have been run by, some fairly bright people and I think that if there was a need for a GUI interface someone would have written one by now. This happened with lifesrc because entering initial starting patterns into the command line version was a tedious and time consuming process (I know, I've been there). The GUI not only makes this process much easier, but it also makes the periodically displayed search status look nicer. Neither gfind or Hersrch suffer from this, just enter the command line parameters, hit return and come back in several minutes/days/months to view the results.
What is the problem with running gfind? David Eppstein wrote and ran this on a Mac back in the days when it had 'no real cmd line' to quote from the program source. There should be no problem with compiling or running it on any of todays computers.I want to search for patterns with search programs like gfind and Hersrch. But I have a Mac.
and:
what about gfind and Hersrch? I want to find Herschel conduits.
You do know what gfind does, don't you? Just checking.
BTW, if you are going to use Hersrch, you might want to read the excellent tutorial written by Dave Greene elsewhere in this forum:
viewtopic.php?f=9&t=132
and:
But you said that you had a Mac!PS: I bet the life community as a whole would find a LOT more patterns from searches if it were easy for the common Windows user to run searches.
Presumably your issue, which isn't explicitly stated, is that there aren't GUI versions of these programs. These programs were written by, and have been run by, some fairly bright people and I think that if there was a need for a GUI interface someone would have written one by now. This happened with lifesrc because entering initial starting patterns into the command line version was a tedious and time consuming process (I know, I've been there). The GUI not only makes this process much easier, but it also makes the periodically displayed search status look nicer. Neither gfind or Hersrch suffer from this, just enter the command line parameters, hit return and come back in several minutes/days/months to view the results.
-
- Posts: 126
- Joined: April 5th, 2009, 7:30 am
Re: Search scripts for Mac
Yes, I know what gfind does. I didn't know what Hersrch did though.
The problem is, I don't know how to compile c source, and some of the parameters you give it confuse me...
The problem is, I don't know how to compile c source, and some of the parameters you give it confuse me...
-
- Posts: 111
- Joined: May 19th, 2010, 7:35 am
- Location: Cambridge, UK
Re: Search scripts for Mac
Awesomeness wrote:
Well I can't really help much with the compiling issue because I don't use a Mac and therefore don't know what options are available to you. I can help with gfind parameters though, if you let me know which ones are confusing you, and the posting by Dave Greene that I linked to above is really good at explaining Hersrch parameters.The problem is, I don't know how to compile c source, and some of the parameters you give it confuse me...
Re: Search scripts for Mac
If you have found a Windows binary, have you tried running it with WineBottler? I use it to try new rules on MCell.
Re: Search scripts for Mac
Are there any catalyst-searching programs for a mac?
not active here but active on discord
Re: Search scripts for Mac
Yes -- ptbsearch, catalyst/catgl, CatForce, and Bellman can all technically be compiled on a Mac.Moosey wrote:Are there any catalyst-searching programs for a mac?
It would be really nice if Golly came with all of these utilities built in, since Golly is cross-platform anyway. But that's a fairly large maintenance headache that no one seems to be in too much of a hurry to take on.
Re: Search scripts for Mac
[quote= "dvgrn"]Yes-- ptbsearch, catalyst/catgl, CatForce, and Bellman can all technically be compiled on a Mac.[/quote]
Okay, does this require c? If so, see my (Gfind) issue here
Okay, does this require c? If so, see my (Gfind) issue here
not active here but active on discord
Re: Search scripts for Mac
just create a batch file, then run it. It's not the difficulty of setting up a search that has prevented a micro-reflector showing up
Re: Search scripts for Mac
@Moosey, the above advice doesn't seem specific enough to be very helpful to a beginner. If you don't know what a batch file is, it's very hard to create one. Looking at current tutorials, I can see some mentions of batch files but no examples that would tell anyone how to use one. The 'catalyst' and 'catgl' programs make a lot of use of batch files, and some examples are included in the respective ZIP files. I'll try to remember to add a complete working example of a batch-file-based search to the Catalyst (search program) article. If it doesn't show up, feel free to remind me.PaulRios wrote:just create a batch file, then run it.
However, reading through the thread you linked to, it looks like you were successful in compiling gfind. The more times you attempt to compile C programs, the more experience you'll get in solving the standard small problems that often come up.
Unless you keep trying until you can solve those kinds of problems, maybe with the same kind of help that you got in the gfind thread, you probably won't be able to run ptbsearch/catalyst/catgl/CatForce/Bellman searches.