Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
0

Spectral sky with Radiance

asked 2025-06-08 14:59:46 -0500

cy's avatar

updated 2025-06-10 11:03:49 -0500

Dear experts

I recently started exploring the spectral features in Radiance, started by generating skies with genssky using a very simple example as the one below. However, the rad file that it generates its empty (when I try in Windows), if I do it in a Linux OS, I get an error: segmentation fault (core dumped). The core file just says * program terminated with signal SIGSEGV segmentation fault*. From what I understand, genssky works differently, as it has to create some temporary files first, perhaps there is need of a previous configuration to be able to create those temporary files? or somehow I'm missing some step. For the installation, I used the radiance installers in GitHub (v6.0a, April this year).

genssky 3 2 15.25 -f M3@15 -a 42 -o 108 -m 110 -n 8 -c 1  > SkyM3@15.rad

I'd appreciate any help you can provide. Thank you! Steph

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-06-10 00:14:01 -0500

Taoning Wang's avatar

Hi Steph,

I am no able to reproduce the error with your command using the latest Radiance release on Windows. Perhaps the data in atmos_data is corrupted somehow, have you tried to delete the atmos_data directory?

edit flag offensive delete link more

Comments

Hi Taoning, thank you so much for your reply. Can you indicate me to where can I find the atmos_data directory? My understanding is that the command should generate different files in the same directory but actually nothing happens, it just creates an empty output file with the name I gave in the command (sky.rad). It's like if it was missing some file to complete the work, but I checked that the environmental variables are set to the proper folder. I'd appreciate any suggestions you have, thank you again! Steph

cy's avatar cy  ( 2025-06-10 14:02:57 -0500 )edit

genssky will create atmos_data at your current working directory. So need to be sure you're permitted to create directory there. With 8 processors as you specified, initial run of genssky will take roughly 10-20 seconds to populate atmos_data directory. Subsequent run will try to reuse the files generated and it should be fast.

Taoning Wang's avatar Taoning Wang  ( 2025-06-10 14:34:09 -0500 )edit

Ok, it seems that I need to spend more time to understand the origin of this, and if there are the necessary permissions. I'll come back if I find something more that could be useful, and if still need help. Thanks again!

cy's avatar cy  ( 2025-06-10 16:36:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Question Tools

1 follower

Stats

Asked: 2025-06-08 14:59:46 -0500

Seen: 116 times

Last updated: Jun 10