yogevb / a-dda

Automatically exported from code.google.com/p/a-dda
0 stars 0 forks source link

File in wrong location #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install and run ADDA software
2. Follow the tutorial until step 14. "./adda -grid 4 -shape ellipsoid 2 3 
-orient avg"

What is the expected output? What do you see instead?

When I enter the command "./adda -grid 4 -shape ellipsoid 2 3 -orient avg" I 
kept getting the error response "ERROR: (../crosssec.c:343) Failed to open file 
'avg_params.dat'". The average_params.dat file was in the folder 
/adda_1.2/input but the program was looking for it in "./adda/src/seq".  I just 
copied "avg_params.dat" into the /adda_1.2/src/seq and the error resolved 
itself.  I just figured I should let you know that it's looking for the file in 
the wrong spot.  Maybe I just messed up with installation, but I'm fairly 
certain that I didn't.

What version of the product are you using? On what operating system?

I'm using version Adda_1.2 on OS 10.8.2

Please provide any additional information below.

Original issue reported on code.google.com by sguss...@gmail.com on 5 Jul 2013 at 6:40

GoogleCodeExporter commented 9 years ago
I also just encountered the same error with the file "alldir_params.dat"and 
resolved it by moving it to the "seq" file.

Original comment by sguss...@gmail.com on 5 Jul 2013 at 6:45

GoogleCodeExporter commented 9 years ago
This is a designed behavior. ADDA searches for all input files in the execution 
directory (since it can be any directory, not necessarily the compilation one), 
unless noted explicitly otherwise in the command line.

Files in input/ are given exclusively as examples. If you want to use them you 
should copy them to the execution directory. Please see Sections 3.1 
"Sequential mode" and beginning of Appendix B   "Input Files" of the manual.

Original comment by yurkin on 7 Jul 2013 at 8:42