[FLASH-BUGS] [FLASH-USERS] Error while setup

Klaus Weide klaus at flash.uchicago.edu
Tue Jul 6 10:00:28 CDT 2010


On Tue, 6 Jul 2010, Kunal Rao wrote:
> I was trying to setup the FLASH simulation in Cygwin environment provided
> with PGI Workstation on Windows HPC Server 2008.
> 
> I did the setup with the following command:
> 
> $./setup Sedov -auto +ug +noio -ostype=Linux
> 
> and got the following error:
> 
> ------------------------------------------------------------------------------------------------------------------------
> A setup internal error has occured, if possible please email the following
> debugging info to flash-bugs at flash.uchicago.edu
> Arguments: ['./setup.py', 'Sedov', '-auto', '+ug', '+noio', '-ostype=Linux']
> Python Version: 2.7.0
> Platform Details: win32
> Traceback (most recent call last):
>   File "./setup.py", line 238, in <module>
>     main()
>   File "./setup.py", line 133, in main
>     linkList.reallyLink()
>   File
> "c:\users\administrator\desktop\FLASH3.2_patched\FLASH3.2\bin\linkFiles.p
> y", line 210, in reallyLink
>     os.symlink(getRelPath(real,pwd),link)
> AttributeError: 'module' object has no attribute 'symlink'
> 
> -------------------------------------------------------------------------------------------------------------------------
> 
> Any suggestion on how to resolve it and get it on the Windows environment ?

The ability to create symbolic links is essential to the standard way in 
which the FLASH setup tool works.  It seems that symlinks are not 
supported by the Python os moducle in your environment, probably because
symbolic links are not supported by the Cygwin environment on your 
machine.

As a workaround, try to add the '-portable' flag to your setup command.
The setup tool should then copy of relevant source files into the object 
directory, rather than creating symlinks to them.

Klaus


More information about the flash-bugs mailing list