[GiDlist] Output varies with folder name, a bug?

Hi, all

When I invoke Gid (in batch mode with gid.exe -b batch.bch -n) from
folders with different names, I found that the result is slightly
different.

For example, with attached batch file

  1. under E:\a, type c:\Program Files\GiD\gid.exe -b temp.bch -n
  2. under E:\a1, type c:\Program Files\GiD\gid.exe -b temp.bch -n
    I found that the two output file (see attached result.zip) are
    different, i.e. the meshing result varies when the folder name
    contains number (or characters other than letters).

Is this a known bug? I am using GiD 9 under windows XP.

By the way, it seems that the problem could be solved if gid.exe has
been put under PATH.


Regards,

Jian
-------------- next part --------------
A non-text attachment was scrubbed…
Name: temp.bch
Type: application/octet-stream
Size: 11130 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100106/96b8575a/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed…
Name: result.zip
Type: application/octet-stream
Size: 85137 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100106/96b8575a/attachment-0001.obj

I think that the result of the mesh doesn’t depend on the current
directory!!
and it doesn’t matter if GiD is on the PATH because your are specifying the
full path to GiD “c:\Program Files\GiD\gid.exe”

Are you completely sure that do you have exactly the same file ‘temp.bch’ on
both directories E:\a\temp.bch and E:\a1\temp.bch ?
And are you sure that the ‘gid.ini’ file that store the gid preferences
(meshing preferences also) is the same between both runs?
(maybe the first batch changed some setting, or you started GiD as user and
changed something (gid.ini is saved to disk when exiting GiD)

Note: The location of ‘gid.ini’ depends of your platform and username
e.g. for Windows Vista is at C:\Users\username\AppData\Roaming\GiD\gid.ini
and for XP is at C:\Documents and settings\username\Application
Data\GiD\gid.ini

Regards

Enrique Escolano

----- Original Message -----
From: “Jian Zou” jianzou at gmail.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, January 06, 2010 1:35 PM
Subject: [GiDlist] Output varies with folder name, a bug?


Hi, all
When I invoke Gid (in batch mode with gid.exe -b batch.bch -n) from
folders with different names, I found that the result is slightly
different.
For example, with attached batch file
1. under E:\a, type c:\Program Files\GiD\gid.exe -b temp.bch -n
2. under E:\a1, type c:\Program Files\GiD\gid.exe -b temp.bch -n
I found that the two output file (see attached result.zip) are
different, i.e. the meshing result varies when the folder name
contains number (or characters other than letters).
Is this a known bug? I am using GiD 9 under windows XP.
By the way, it seems that the problem could be solved if gid.exe has
been put under PATH.

Regards,
Jian

Hi Enrique,

Thank you for the reply.

Attached please find the input batch (temp.bch.gz) I used for testing
and output (result.zip, including gid.ini). You will see that temp.bch
and gid.ini are the same for the two test (I am running the test in
batch mode directly from command line with -b -n option), but the
meshing results (temp.gid.msh) are slightly different.

I have to say once again that I found this problem under WindowsXP and
GiD-9.0.4, and gid.exe is referenced by its full path. If gid.exe is
under the PATH and I invoke by using gid -b temp.bch -n (ie. without
specifying the full path), E:\a and E:a1 produce identical results.
GiD-8.0.6 is OK.


Regards,

Jian


----- Original Message -----

I think that the result of the mesh doesn’t depend on the current
directory!!
and it doesn’t matter if GiD is on the PATH because your are specifying the
full path to GiD “c:\Program Files\GiD\gid.exe”

Are you completely sure that do you have exactly the same file ‘temp.bch’ on
both directories E:\a\temp.bch and E:\a1\temp.bch ?
And are you sure that the ‘gid.ini’ file that store the gid preferences
(meshing preferences also) is the same between both runs?
(maybe the first batch changed some setting, or you started GiD as user and
changed something (gid.ini is saved to disk when exiting GiD)

Note: The location of ‘gid.ini’ depends of your platform and username
e.g. for Windows Vista is at C:\Users\username\AppData\Roaming\GiD\gid.ini
and for XP is at C:\Documents and settings\username\Application
Data\GiD\gid.ini

Regards

Enrique Escolano

----- Original Message -----
From: “Jian Zou” jianzou at gmail.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, January 06, 2010 1:35 PM
Subject: [GiDlist] Output varies with folder name, a bug?


Hi, all
When I invoke Gid (in batch mode with gid.exe -b batch.bch -n) from
folders with different names, I found that the result is slightly
different.
For example, with attached batch file
1. under E:\a, type c:\Program Files\GiD\gid.exe -b temp.bch -n
2. under E:\a1, type c:\Program Files\GiD\gid.exe -b temp.bch -n
I found that the two output file (see attached result.zip) are
different, i.e. the meshing result varies when the folder name
contains number (or characters other than letters).
Is this a known bug? I am using GiD 9 under windows XP.
By the way, it seems that the problem could be solved if gid.exe has
been put under PATH.

Regards,
Jian
-------------- next part --------------
A non-text attachment was scrubbed…
Name: temp.bch.gz
Type: application/x-gzip
Size: 2299 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100108/3313cc22/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed…
Name: result.zip
Type: application/zip
Size: 92714 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100108/3313cc22/attachment.zip

are you sure that the gid.ini is the same when running both cases?
0. copy to a temporary folder “gid.ini” from “C:\Documents and settings\username\Application Data\GiD\gid.ini”

  1. under E:\a, type “C:\Program Files\GiD\gid.exe” -b temp.bch -n
    2 restore “gid.ini” from your temporary copy (the last gid.exe could have changed it)
  2. under E:\a1, type “C:\Program Files\GiD\gid.exe” -b temp.bch -n
    and compare if both meshes are equal

I am trying to repeat it, but in my tests I am obtaining always the same result!

I think that the problem is related to the content of the gid.ini, that has the variables GIDDEFAULT and GIDDEFAULTTCL
and in your case are pointing to a GiD different of the 9.0.4 that you use for the batchs, located at “c:\Program Files\GiD”
and the variables in your gid.ini point to
GIDDEFAULT “D:/apps/GiD”
GIDDEFAULTTCL “D:/apps/GiD/scripts”

This GIDDEFAULT and GIDDEFAULTTCL gid.ini settings are deprecated, and we definitely ignored them everywere in the last beta version 9.2.5b

I think that you can avoid the problem removing this two lines from your gid.ini or setting tjhem to the appropiated GiD path
GIDDEFAULT “C:/Program Files/GiD”
GIDDEFAULTTCL “C:/Program Files/GiD/scripts”

or updating to the 9.2.5b beta version


----- Original Message -----
From: “Jian Zou” jianzou at gmail.com
To: escolano at cimne.upc.edu
Cc: gidlist at gatxan.cimne.upc.edu
Sent: Friday, January 08, 2010 3:12 AM
Subject: [GiDlist] Re: Output varies with folder name, a bug?


Hi Enrique,
Thank you for the reply.
Attached please find the input batch (temp.bch.gz) I used for testing
and output (result.zip, including gid.ini). You will see that temp.bch
and gid.ini are the same for the two test (I am running the test in
batch mode directly from command line with -b -n option), but the
meshing results (temp.gid.msh) are slightly different.
I have to say once again that I found this problem under WindowsXP and
GiD-9.0.4, and gid.exe is referenced by its full path. If gid.exe is
under the PATH and I invoke by using gid -b temp.bch -n (ie. without
specifying the full path), E:\a and E:a1 produce identical results.
GiD-8.0.6 is OK.

Regards,
Jian

----- Original Message -----
I think that the result of the mesh doesn’t depend on the current
directory!!
and it doesn’t matter if GiD is on the PATH because your are specifying the
full path to GiD “c:\Program Files\GiD\gid.exe”
Are you completely sure that do you have exactly the same file ‘temp.bch’ on
both directories E:\a\temp.bch and E:\a1\temp.bch ?
And are you sure that the ‘gid.ini’ file that store the gid preferences
(meshing preferences also) is the same between both runs?
(maybe the first batch changed some setting, or you started GiD as user and
changed something (gid.ini is saved to disk when exiting GiD)
Note: The location of ‘gid.ini’ depends of your platform and username
e.g. for Windows Vista is at C:\Users\username\AppData\Roaming\GiD\gid.ini
and for XP is at C:\Documents and settings\username\Application
Data\GiD\gid.ini
Regards
Enrique Escolano
----- Original Message -----
From: “Jian Zou” jianzou at gmail.com
To: gidlist at gatxan.cimne.upc.edu
Sent: Wednesday, January 06, 2010 1:35 PM
Subject: [GiDlist] Output varies with folder name, a bug?

Hi, all
When I invoke Gid (in batch mode with gid.exe -b batch.bch -n) from
folders with different names, I found that the result is slightly
different.
For example, with attached batch file
1. under E:\a, type c:\Program Files\GiD\gid.exe -b temp.bch -n
2. under E:\a1, type c:\Program Files\GiD\gid.exe -b temp.bch -n
I found that the two output file (see attached result.zip) are
different, i.e. the meshing result varies when the folder name
contains number (or characters other than letters).
Is this a known bug? I am using GiD 9 under windows XP.
By the way, it seems that the problem could be solved if gid.exe has
been put under PATH.

Regards,
Jian

-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100108/2c6c7f78/attachment.htm