gaussveiw 03 can find path

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
xir
Level 1
Level 1
Posts: 5
Joined: Fri Oct 30, 2009 7:03 am

gaussveiw 03 can find path

Post by xir »

Guassview is an optional graphical front end to the Gaussian computational chemistry program.

To achieve certain tasks it calls other smaller task specific programs, for instance to draw orbitals in needs a program called cubegen which is in the Gaussian directory.

And here lies the problem, when launching the program under wine it tries to find the Gaussian directory but says "cannot find Gaussian directory" even though it is there.

when the error dialogue comes up the following error is output in the command prompt

Code: Select all

fixme:imm:ImmReleaseContext (0x10020, 0x15d670): stub

Does anyone have any advice?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: gaussveiw 03 can find path

Post by vitamin »

xir wrote:And here lies the problem, when launching the program under wine it tries to find the Gaussian directory but says "cannot find Gaussian directory" even though it is there.
How exactly are you starting your program? And from what directory?
xir
Level 1
Level 1
Posts: 5
Joined: Fri Oct 30, 2009 7:03 am

Post by xir »

i am launching the program as follows

Code: Select all

# wine C:\G03W\gaussview.exe
i have also launched it directly form the directory using the wine CMD and still get the same error.

The directory for the programs it is looking for are the same as the one that gausview resides in.

thanks for the reply
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

xir wrote:i am launching the program as follows

Code: Select all

# wine C:\G03W\gaussview.exe
You need to 'cd' into that directory as well. Some programs need both parts.
xir
Level 1
Level 1
Posts: 5
Joined: Fri Oct 30, 2009 7:03 am

Post by xir »

hi

i still get the following

Code: Select all

:~/.wine/drive_c/G03W$ wine c:\\G03W\\gview.exe
fixme:imm:ImmReleaseContext (0x10020, 0x15d690): stub

thanks
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

When you 'cd' to the directory, you can just run wine gview.exe without an extra path... It does the same as what you typed, only easier, though, so it probably won't fix the problem (but at least it's easier to type).
xir
Level 1
Level 1
Posts: 5
Joined: Fri Oct 30, 2009 7:03 am

Post by xir »

ha i didnt know that.

i've been digging around the folder and there is a ini file with some paths in but they point to

c:\G03W

Would i need to change thin to the absolute path or is this done by wine for me?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

xir wrote:Would i need to change thin to the absolute path or is this done by wine for me?
Absolute paths should work just fine. Have you installed your program? Did it created a link for itself?
xir
Level 1
Level 1
Posts: 5
Joined: Fri Oct 30, 2009 7:03 am

Post by xir »

yes the program and its supporting programs are installed (i would show you an 'ls' output but there are hundreds of them).

Code: Select all

[FILE]
Bin_Path=c:\G03W
Input_Path=c:\G03W
Output_Path=c:\G03W
ScratchDir_Path=c:\G03W\Scratch
This was created by the gaussian program. This was my first approach to fixing the problem, but no matter what type of paths i use i get the same error.

I have checked gaussview for any option which let me manually find the folder buy it must be in the back-end somewhere.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

xir wrote:Bin_Path=c:\G03W
Does the case match with the actual name? Is this file saved with windows end of lines (not *NIX)?
shemz
Newbie
Newbie
Posts: 1
Joined: Thu Apr 22, 2010 3:19 pm

Post by shemz »

If anyone is still interested, this is what worked for me.

Code: Select all

env WINEPREFIX="/home/shemz/.wine" wine "C:\G03W\gview.exe"
It works like a charm for usual works. But some eye candy doesn't work like HOMO LUMO projections. I am still trying to work that out as this peice of software is a relative old one (I have 03W version) and should be better supported on Wine.
Locked