FORT BRAGG, N.C. — For the first time in history, the U.S. military hosted an event expressly for soldiers and others who don’t believe in God, with a gathering sort of like a county fair Saturday on the main parade ground at one of the world’s largest Army bases.

The Rock Beyond Belief event at Fort Bragg, organized by soldiers after a 2010 evangelical Christian event at the base, is the most visible sign so far of a growing desire by military personnel with atheist or other secular beliefs to get the same recognition as their religious counterparts.

The purpose was not to make the Army look bad, organizers said, but to show that atheists and other secular believers have a place in institutions like the military.

“I love the military,” said Sgt. Justin Griffith, main organizer of the event and the military director of American Atheists. “This is not meant to be a black eye.”

Griffith said he and other non-religious soldiers are not permitted to hold atheist meetings at the base and have so far been rebuffed in their efforts to change that. They feel their beliefs marginalize them.

Organizers were hoping for a crowd of about 5,000. At least several hundred people gathered on the parade ground by midday Saturday. Rainy weather for most of the morning may have affected the turnout.

The atmosphere was festive, with carnival treats like ribbon fries and ice cream, games for children and a demonstration jump by the Army’s Golden Knights parachute team. Speakers and bands performed on the main stage. It was indistinguishable from a county fair except for the information booths ringing the parade ground and the content of the performances.

“We got any Darwin fans in the house?” asked a performer named Baba Brinkman, before launching into a rap song about evolutionary biology that culminated in a call-and-response chant of “Creationism is dead wrong!”

Organizers said the goal was not to disparage religious soldiers, but to celebrate the beliefs of secular members of the military and their families. In the weeks leading up to the event, some bloggers and others expressed concerns. A chaplain currently deployed in Afghanistan posted an open letter on Fort Bragg’s Facebook page, saying he feared the event would be devoted to mocking religious soldiers.